Microsoft
Software
Hardware
Network
Question : Replace part of ntext field SQL
I used that code:
UPDATE CMRC_Products set Desc = replace(Cast(LongDesc AS NVARCHAR(Max)), '+ System.Configuration.Confi
gurationMa
nager.AppS
ettings["D
omain"]+',
'@mysite.com')
Its says row affected, but its not true... noting was changed!
So I want to change the part of the email address (@mysite.com) in the file to + System.Configuration.Confi
gurationMa
nager.AppS
ettings["D
omain"]+'
Any help?
Answer : Replace part of ntext field SQL
your replace structure in in the reverse order
UPDATE CMRC_Products set Desc = replace(Cast(LongDesc AS NVARCHAR(Max)), '@mysite.com','+ System.Configuration.Confi
gurationMa
nager.AppS
ettings["D
omain"]+')
Random Solutions
OCS 2007 Issue
Can't login after changing from domain to workgroup
Owa acces fails
MS Access - dynamically/programaticall<wbr />y creating Pivot Charts using Office Chart component
Web Parts Manager
Change a SQL Service account
charts or graphs
SQL creating table relationship trouble
Repeat Header columns on each and every page of the Report
how do I send as a distribution group in exchange 2007?