sql-parser
sql-parser copied to clipboard
Syntax error using FROM and INTO @variablename
SELECT CONCAT('CHECKSUM TABLE ', GROUP_CONCAT(table_name), ';') AS statement
FROM information_schema.tables
WHERE table_schema = 'information_schema' INTO @command;
Gives a query syntax error because of INTO @command
Error
Near FROM