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

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
ft:locale
en-US
ft:lastEdition
2021-07-27
dita:mapPath
spp1591731285373.ditamap
dita:ditavalPath
spp1591731285373.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.