Teradata Database Message 3555 - 17.10 - 3555 - 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
Only the last WITH clause can omit the BY information.
Explanation
Omitting the BY portion of the WITH clause implies that the WITH summary must be done on the entire base table. Since WITH clauses are assumed to appear in increasing scope, following such a WITH with a narrower-scope WITH should not be done.
Generated By
OPT modules.
For Whom
End User.
Notes
None
Remedy
If possible, reorder the WITH clauses and resubmit the request.