Do you have access to Site Administrator? There you can try what error, if any, QC gives. Just select the project, any table under it and paste the SQL and click Execute SQL (clean up the quotes and other code related syntax). Even if the SQL works in some DB tool, it is not necessarily "QC proof".
↧