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
Microsft Access queries need to update all queries with new table name
Dell Vista error code 7B, hang at black screen after login, factory retsore
How to - disable 'Confirm open after download' in Vista for sharepoint
GLIBCXX_3.4.9' not found C++
GRANT ALTER TRACE TO [SomeUser] gives syntax error
Sccm OS deployment: Bootmgr is missing.
Lost user password on Vista Home Basic notebook. chntpw
Update Query to Delete everything to thr right: 4th comma
VS 2008 Hangs (slow) on Open Website when searching through Mapped Network Drives
Insert Text String into ntext field