Look in the logs folder in the root of your store for a myDEBUG-adm-(lots of numbers).log file.
That should tell you what the error was while trying to run the SQL
Look in the logs folder in the root of your store for a myDEBUG-adm-(lots of numbers).log file.
That should tell you what the error was while trying to run the SQL