I have data inserted from XML into my table with char() values.
I need to get eliminated in my query for filtering data
declare @t table
(s nvarchar(max) )
insert @t
values('(Location is Asia and Location is Africa) and
(Manager Name Kumar and Manager Name Kannan)'),
('(Manager Name Selvam and Manager Name Raja)')
select REPLACE(REPLACE(s, CHAR(13), ''), CHAR(10), '')
from @t where s= 'and (Manager'NO RECORDS FOUND
Expected result
===================
(Location is Asia and Location is Africa) and (Manager Name Kumar and Manager Name Kannan)')
ShanmugaRaj