Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 function to remove spaces

Author  Topic 

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-10-06 : 01:56:14
is there a function that will remove all spaces from a string?

sanoj_av
Posting Yak Master

118 Posts

Posted - 2009-10-06 : 02:14:08
use the replace function

Select replace('your string with spaces',' ','')
Go to Top of Page
   

- Advertisement -