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)
 Ltrim entire column

Author  Topic 

nguyenl
Posting Yak Master

128 Posts

Posted - 2008-06-16 : 19:43:52
How do I "ltrim" an enire colum?

Thanks,

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-06-16 : 19:46:31
Is this?

Select rtrim(ltrim(col)) from your_table

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2008-06-16 : 23:08:10
if all you want to do is ltrim, leave off the rtrim part.


elsasoft.org
Go to Top of Page
   

- Advertisement -