TRIM function for 2000?

  • How do I remove all leading and trailing white spaces in MS SQL Server 2000? I notice that there is a TRIM function for 2005. What do I use with 2000?

  • SELECT RTRIM( LTRIM( SomeColumn ) ) FROM SomeTable

    --Ramesh


Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply