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.
| Author |
Topic |
|
kvishnuprasad
Starting Member
13 Posts |
Posted - 2008-11-11 : 11:30:01
|
| HI folks,i have a table like thisID Name marks1 vish"nu 602 cris" 543 mita"yu 564 nu"hu 71i should be able to modify the names with the correct format ie with out quotes ..is there any replce command so that i can directly replace " i want my table to be in this way..ID Name marks1 vishnu 602 cris 543 mitayu 564 nuhu 71or ID Name marks1 vish@nu 602 cris@ 543 mita@yu 564 nu@hu 71Please help me..Regards,Vishnu |
|
|
darkdusky
Aged Yak Warrior
591 Posts |
Posted - 2008-11-11 : 11:36:23
|
| UPDATE TableName SET ColumnName = REPLACE(ColumnName, '"','') |
 |
|
|
Kumar_Anil
Yak Posting Veteran
68 Posts |
Posted - 2008-11-11 : 18:34:18
|
| UPDATE TableName SET name = REPLACE(name, '"','@') ---This will replace " by @ |
 |
|
|
kvishnuprasad
Starting Member
13 Posts |
Posted - 2008-11-12 : 01:57:33
|
| Thank u, my frdz!!!!! |
 |
|
|
|
|
|