17.00 - -1006 WITH is an incorrect keyword for this statement - Teradata Tools and Utilities

Teradata Preprocessor2 (SPP Prefix) Messages

prodname
Preprocessor2 for Embedded SQL
Teradata Tools and Utilities
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1096-PP2

-1006 WITH is an incorrect keyword for this statement

Possible Cause

A WITH clause was used as part of a dynamic SELECT request. WITH may not be used for a SELECT request.

Possible Solution

Remove the WITH clause from the request.