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
 Transact-SQL (2000)
 Removing characters

Author  Topic 

MarcLaferriere
Starting Member

4 Posts

Posted - 2003-02-28 : 10:16:57
Hello, i'm drawing a blank today,
I have a column where certain fields are followed by (Not Available). I need to remove these words from the field.
How can i do this?

X002548
Not Just a Number

15586 Posts

Posted - 2003-02-28 : 10:25:43
I think:

SELECT REPLACE(COL1,'(Not Available)','')

Should do it.

Good Luck

Brett

8-)

Go to Top of Page
   

- Advertisement -