Ramesh Saive
SSC-Insane
Points: 24275
More actions
November 23, 2007 at 7:47 am
#753637
SELECT REPLACE( SomeColumn, SPACE(1), '' ) FROM SomeTable
--Ramesh
Johan Bijnens
SSC Guru
Points: 135590
November 23, 2007 at 8:04 am
#753644
or if you only want to trim leading or trailing spaces you can use :
SELECT RTRIM(LTRIM(mycol))
FROM myobject
JohanLearn to play, play to learn !
Dont drive faster than your guardian angel can fly ...but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply