Note dat i didnt put d where clause....its no mistake....its based on d assumption dat u intend 2 change ol d records in d table or dat ol records r to be affected...
u can put d where condition if mi assumption is wrong....
dat way it will be something like ds for d second solution:
Update Tabl
set Colm = REPLACE(Colm,'-','')
{where id = (specify criteria expression)}
GO
d curly signifies dat u can totally replace ds with ur own where clause....
op u found dat useful?
Comment