Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Derived Field help ~ REPLACE??? function

Status
Not open for further replies.

abowling

Technical User
Apr 27, 2005
33
0
0
US
I need a derived field to change the SSN from

123-45-6789 to XXX-XX-6789


Any help would be greatly appreciated.
 
Try this (Example is with basic PS_Employees table):

1st Derivied Field
SUBSTR("PS_Employees.SSN",6)

2nd Derived Field
Use concatenation to combine 'XXX-XX-' with first derived field
 
that worked, thanks a lot for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top