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
Combobox selectedvalue and selectedindex change unexpectedly
Runtime Error 424 "Object Required"
Populate Table from Multiple Calculated Field on a Form in Access
KMS and MAK
How to reinstall Vista USB Drivers?
How to deal with binary data types in access
Crosstab Query with Decimal column Headers for MS Graph Datasheet
Using IF in SQL SELECT
Gating Role
Data Loss & Recovery - FAT 16 - NTFS 160GB USB drive. Possible bad MBR or Partition Table