SQL Codes › SQL Return Codes -1 through -999 › -2 - EMPTY QUERY STRING
Reason:
An empty query string has been detected in parsing.
The SQLSTATE that equates to this SQL return code is 42612.
Action:
Verify that the input SQL query statement is syntactically correct.