I've got an application that has an embedded insert statement that I do not have access to edit. It hits the MySQL 5.0 server like this:
INSERT INTO TABLE (PATH) VALUES ('D:\Reports\')
MySQL is complaining about this, because it looks like the slashes are being treated as escape characters. Is there a work around for this to make this statement work, it's the only way I can get this application to write to the MySQL database. It was written to work with MSSQL and this appears to be the one and only issue. Ideally, the application would send the INSERT statement like this:
INSERT INTO TABLE (PATH) VALUES ('D:\\Reports\\')
Any advice would be appreciated.
INSERT INTO TABLE (PATH) VALUES ('D:\Reports\')
MySQL is complaining about this, because it looks like the slashes are being treated as escape characters. Is there a work around for this to make this statement work, it's the only way I can get this application to write to the MySQL database. It was written to work with MSSQL and this appears to be the one and only issue. Ideally, the application would send the INSERT statement like this:
INSERT INTO TABLE (PATH) VALUES ('D:\\Reports\\')
Any advice would be appreciated.