SQL Error Messages

Revision as of 11:13, 19 July 2012 by Connor (Talk | contribs)

Jump to: navigation, search

Error Messages

Error messages, how they are caused and what can be done about them.


SQL Server



  • <a href='err934/db2'>SQL0120N A WHERE clause, GROUP BY clause, SET clause, or SET transition-variable statement contains a column function. </a>
  • <a href='err942/db2'>SQL0204N "GISQ.NOSUCHTABLE" is an undefined name</a>
  • <a href='err979/db2'>SQL0119N An expression starting with "xxx" specified in a SELECT clause, HAVING clause, or ORDER BY clause is not specified in the GROUP BY clause or it is in a SELECT clause, HAVING clause, or ORDER BY clause with a column function and no GROUP BY clause is specified. SQLSTATE=42803</a>


  • <a href='err918/postgres'> Error 7 ERROR: Column reference "name" is ambiguous </a>
  • <a href='err934/postgres'>ERROR: Aggregates not allowed in WHERE clause</a>
  • <a href='err942/postgres'>ERROR: Relation "nosuchtable" does not exist</a>
  • <a href='err979/postgres'>Error 7 ERROR: Attribute xxx.xxx must be GROUPed or used in an aggregate function</a>