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)
 Oracle TRANSLATE equivalent

Author  Topic 

bob humphrey
Starting Member

2 Posts

Posted - 2009-12-22 : 11:32:22
Oracle TRANSLATE enables me to replace one character string with another in a column value. Can anyone please tell me the equivalent command in SQL Server 2005?

DP978
Constraint Violating Yak Guru

269 Posts

Posted - 2009-12-22 : 11:33:13
REPLACE()

All string functions availible here:

http://msdn.microsoft.com/en-us/library/ms181984.aspx
Go to Top of Page

bob humphrey
Starting Member

2 Posts

Posted - 2009-12-22 : 11:52:57
Wonderful! Looks like I need REPLACE. Thanks very much
Go to Top of Page

DP978
Constraint Violating Yak Guru

269 Posts

Posted - 2009-12-22 : 12:54:42
You're welcome.
Go to Top of Page
   

- Advertisement -