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
C# ,framework 2.0 , bindingsource filter question
Find & Replace on all views, stored procedures, functions in a given database/server
Password for installed application?
Is there a broken links reporting tool available for SharePoint?
Data conversion using MS BizTalk 2009
Access query to select highest number in field
Swap two columns using vba
EXCHANGE 2000 to 2007 Last server removed issue with name resolution
Can a Formula Field be bookmarked in MS Word 2002?
Using DoCMD.FindRecord getting runtime error 2162