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)
 A quickie ... Trim in SQL

Author  Topic 

edb2003
Yak Posting Veteran

66 Posts

Posted - 2003-09-30 : 16:31:26
Hi Everyone,
I want to remove trailing spaces in a stored procedure. Does anyone know how I can do this?

I appreciate everyones help :)

Happy Day,
edb

X002548
Not Just a Number

15586 Posts

Posted - 2003-09-30 : 16:35:57
SELECT RTRIM(col1) FROM myTable

was it good for you?



Brett

8-)

SELECT @@POST FROM Brain ORDER BY NewId()

That's correct! It's an AlphaNumeric!
Go to Top of Page

edb2003
Yak Posting Veteran

66 Posts

Posted - 2003-09-30 : 17:03:42
Man .... your a GENIUS.

This works like a charm. Now I have to figure out another problem to my project which my partner said before hand, "Watch that another problem will sprout up".

Thanks bunches .

Edb

Go to Top of Page

SamC
White Water Yakist

3467 Posts

Posted - 2003-09-30 : 19:32:37
If I mention LTRIM() am I a genius?

or maybe Brett's only half a genius

Go to Top of Page
   

- Advertisement -