Can anyone suggest the proper way to escape the backslashes in the
directory name in the following script?
d = c.run(“ALTER DATABASE fooDB MODIFY FILE (NAME = foo_log, FILENAME =
‘C:\Program Files\Microsoft SQL
The obvious solutions yield either “Incorrect syntax…” or “Invalid
escape character syntax” messages.