July 23, 2010 at 8:37 am
I have a table "tblGoals"
with a column "FocusMembers"
Data would be like this
"ram,kin,jai."
"meenu,sona,kiran."
"rama,raja."
Will I be able to update a single name from the entire field.
Eg- Changing "meenu,sona,kiran." to "Raman,sona,kiran."
if I get just "meenu" and "Raman" as inputs.
Thanks
Nag.
July 23, 2010 at 8:46 am
Check BOL for the REPLACE string function. This is what you want.
July 23, 2010 at 10:24 am
sounds like homework. If it isn't then can you post DDL and what you have tried so far?
For better, quicker answers, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply