error handling - sql select string coming before space dash space -
select string coming before space dash space
say table 1
id | name 1 | poo - sr 2 | s-h-r - sr 3 | sdr - mj 4 | srk - kl
i want like
id | name 1 | poo 2 | s-h-r 3 | sdr 4 | srk
use replace function in sql? example :select replace('abcdefghicde','cde','xxx');
Comments
Post a Comment