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 2000 Forums
 SQL Server Development (2000)
 Trim command

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-11 : 00:46:40
Bala krishna writes "How to trim a string in SQL server?"

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2002-03-11 : 00:59:26
Hi

There are two functions, ltrim and rtrim, you can use them both together i.e. ltrim(rtrim(string))

Damian
Go to Top of Page
   

- Advertisement -