CREATE GLOBAL TEMPORARY TRACE TABLE Statement | Teradata Vantage - 17.10 - CREATE GLOBAL TEMPORARY TRACE TABLE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

Creates a global temporary trace table to support the UDF- and external SQL procedure-related trace option of the SET SESSION statement. See SET SESSION FUNCTION TRACE.

You cannot partition or define indexes for a global temporary trace table.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have the CREATE TABLE privilege on the database or user in which the table is created.

The creator receives all the following privileges on the newly created table.

  • DROP TEMPORARY TABLE
  • DUMP
  • REFERENCES
  • RESTORE
  • SELECT

Privileges Granted Automatically

None.