The QryLogSQLV view is populated if you request that SQL is shown for a query along with the default information. The WITH SQL option causes DBQL to attempt to log the full statement text, no matter how large, into the DBQLSQLTbl table. If the SQL text is greater than 31,000 characters, multiple rows are generated.
Possible Values for SQLTextInfo
SQLTextInfo contains a full SQL text segment, a string of up to approximately 32,000 characters. If the SQL text is greater than 31,000 characters, multiple rows are generated. Note, BTEQ has a limited column length; use Teradata Studio to display longer lengths.
SQLTextInfo can also contain the following: