I’m trying to remove all occurences of ` in TRIGGER_NAME and replace them with ‘
UPDATE Scheduler.dbo.QRTZ_BLOB_TRIGGERS
SET TRIGGER_NAME = REPLACE(TRIGGER_NAME, '`', '\\'')
WHERE
TRIGGER_NAME LIKE '%`%';
The logic I’m following is that I need to escape \’ to show it but also save it escaped?
You usually only need a single backslash, ie
You can also use a double single-quote which is more standard across database vendors