SPL1038: "%s:E(L%d), SQL SELECT returns %d columns, but INTO clause has %d target variables." - Teradata Database

Stored Procedure Compilation (SPL Prefix) Messages

Product
Teradata Database
Release Number
16.10
Language
English (United States)
Last Update
2018-10-22
dita:id
B035-1096-SPL
lifecycle
archive
Product Category
Teradata® Database

SPL1038: "%s:E(L%d), SQL SELECT returns %d columns, but INTO clause has %d target variables."

Explanation:

There is a mismatch in the number of fields projected in the SELECT clause of the SQL SELECT statement and the number of local variables and/or INOUT/OUT parameters specified in the INTO clause.Generated By: TSP module.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

Verify and add or delete the number of fields in the SELECT clause to match the number of target variables in the INTO clause or vice versa.