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
popup modal form
Run Queries Based on Form Values
How do I install aTube Catcher 1.0 rc2 setup.231 program?
Cannot connect new Windows 7 client to the domain
Windows SharePoint Services 3 Event ID 8214
WSUS for IT outsoursing clients (one WSUS for few companies)
SQL Query, Union All Question
How do I add a 2008 Domain Controller to a 2003 Server network?
How to terminate a processes in MS SQL Server
OWA 2007 External Access