16.20 - SPL1007: "%s:E(L%d), Expecting cursor SQL SELECT statement instead of %s ." - Teradata Vantage NewSQL Engine

Teradata® Vantage - Database Stored Procedure Compilation (SPL Prefix) Messages

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1096-162K

SPL1007: "%s:E(L%d), Expecting cursor SQL SELECT statement instead of %s ."

Explanation:

Either an SQL SELECT statement is missing or there is a syntax error in the SELECT statement specified as a cursor specification in the indicated line. <%s> contains the unexpected or erroneous statement.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

Specify an SQL SELECT statement if it is missing in the cursor specification, or verify and correct the syntax of the SELECT statement specified as cursor specification as appropriate.