Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove coma in select cause

Status
Not open for further replies.

pavikavi

Programmer
Oct 28, 2003
8
US
hi

Is it possible to remove coma from the select clause in a procedure

For example lets say i Select a, b, c from table1, table2...etc where value of a is "Proctoer, Gamble"
I need to remove the coma and replace it with space
is it possible in a procedure , is there any built in fucntion i can use

Please help me out

Thanks
 
use the charindex function.
also in SQL Server there is replace() function , I doubtful about its presence in Sybase.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top