Teradata Database Message 5398 - 17.10 - 5398 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
SELECT/FETCH source list and INTO list do not match.
Explanation
The SELECT expresion list and the INTO list do not have the same number of entries. sample SQLs that can cause this error: select col1 into :var1, :var2 from table1; or select col1, col2 into :var1 from table1;
Generated By
RES modules
For Whom
End User.
Notes
None
Remedy
Correct the SELECT-INTO and resubmit.