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

String manipulation

Status
Not open for further replies.

rtdvoip

Programmer
Aug 29, 2003
27
US
hiya fellas,

any suggestions on how I may take out some '-' from a phone number using a string function in sql?

for example

phone_number is '777-777-777'
i need it as 777777777

on my version it tells me that ltrim and rtrim only takes one argument.

thanks in advance
 
I am in the process of placing the online books back.
They were taken off by the last programmer.

thanks
 
Take to look at this thread thread183-571441

Zhavic

---------------------------------------------------------------
In the 1960s you needed the power of two Comodore64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top