Error 222

Message text

Result set not allowed from within an atomic compound statement

Item

Value

SQLCode

-222

Constant

SQLE_RESULT_NOT_ALLOWED

SQLState

3BW02

ODBC State

S1000

Probable cause

A SELECT statement with no INTO clause or a RESULT CURSOR statement are not allowed within an atomic compound statement.