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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding dashes to an SSN

Status
Not open for further replies.

renee35

MIS
Jan 30, 2007
199
I have created a report and it includes SSN. The customer would like for that number to include the dashes. Currrently this is how it displays:

123456789 - would like for it to read 123-45-6789?

Thanks!!
Thanks a bunch!!


Thanks a bunch!!

-T
 
Code:
Select Stuff(Stuff(SSN, 6, 0, '-'), 4, 0, '-')

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top