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
matrix query
Chang AD password to not meet complexity?
Late binding Outlook - type mismatch on object assignment
Access database and VB.NET program error: The Microsoft Jet database engine cannot open the file
Merging Multiple Excel Spread Sheets into one with common fields.
Access VBA - Need to wait a few seconds...
How do I insert HTML file or Meta Tag ?
ATL COM compilation error in atlcom.h
How to call a sub in a seperate class file
find filenames in a text file