Error 160

"Can only describe a SELECT statement"

Item Description

SQLCode

-160L

Constant

DESCRIBE_NONSELECT

SQLState

07005

ODBC 2 State

OK

ODBC 3 State

OK

Sybase Error Code

2107

Severity Code

16

Probable cause

In the C language interface, you attempted to describe the select list of a statement other than a SELECT statement. In UltraLite this error can result from trying to retrieve the schema of any statement other than a SELECT.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com