Can't get update statement in SQL Server to work -
i'm attempting execute sql update statement , it's not working. know why ?
update dbo.ebstable set commandfield = replace(commandfield, '%appl.mbm_aging_file', '%appl.mbm_aging_file)') command '[%]appl.mbm_aging_file'
basically, i'm trying add ")" end of data appearing in commandfield
field value %appl.mbm_aging_file
(the "%" appears in data).
i discovered clause inadequate (like me sql). should read
update dbo.ebstable set commandfield = replace(commandfield, '%appl.mbm_aging_file', '%appl.mbm_aging_file)') command '%[%]appl.mbm_aging_file%'
that statement worked.
Comments
Post a Comment