Dec 16, 2005 #1 davetek Programmer Oct 30, 2002 42 IE Hi, I have a string in the format '001 555 2391'. I want to convert this to 0015552391. Any suggestions? Thanks.
Hi, I have a string in the format '001 555 2391'. I want to convert this to 0015552391. Any suggestions? Thanks.
Dec 16, 2005 #2 SQLDenis Programmer Oct 1, 2005 5,575 US select replace(field,' ','') Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
select replace(field,' ','') Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Dec 16, 2005 Thread starter #3 davetek Programmer Oct 30, 2002 42 IE The database i'm using actually does not allow replace function. Upvote 0 Downvote
Dec 16, 2005 #4 SQLDenis Programmer Oct 1, 2005 5,575 US I assume you used SQL server since this is a SQL server forum what db are you using? Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
I assume you used SQL server since this is a SQL server forum what db are you using? Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/