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
Change Required Error Message - Access 2007
unlock the "local area connection' of windows xp
error saying 'External table is not in the expected format.' when trying to update database from a dataset
Set Word 2010 as default for .doc and .docx
Calendar Options grids
Help with formula in VBA for summing cells from two ranges into a third range
Internet Drivers for IBM R51 Thinkpad
How to Get a List of Access Macro objects in VBA?
Crystal reports integrated with MFC?
Quitting the Outlook Application leaves the process running