Mysql syntax error..
-
Running a sql script via Cron Scheduler and I get this error in the log file:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SET @newid = last_insert_id()………….
This is what is in the sql script right after an Insert statement:
SET @newid = last_insert_id();
Any thoughts?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Mysql syntax error..’ is closed to new replies.