Teradata Database Message 5398 - 5398 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
lifecycle
latest
Product Category
Teradata Vantageā„¢
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.