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
Create a graph in a Word doc from Access based on access table data
Go to a specific Record in a popup form from a record listed in an open form/subform
How do I STOP a network drive from automatically mapping when I logon?
error 2009 , my dos application under foxplus is not run with XP
Is there a way to restore the default local security policy to a server?
Using Range in DoCmd.TransferSpreadsheet acImport
Convert rupees in numbers to words
Formula for Previous Friday to Thursday
Incrementing a date value in a Do..Until Loop
Using Godaddy Certificates in Windows Essential Business Server 2008