Usage Notes - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

The QryLogSQLV view is populated if you request that SQL is shown for a query 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:
  • Unavailable
  • Null
SqlTextInfo may be Null or Unavailable when the SQL is not available to DBQL at the end of the query or when a query fails. Unavailable is seen when the SQL fails to translate correctly, for example, when the SQL is submitted from a mainframe in EBCDIC format or when UNICODE translation is required.