17.10 - BEGIN QUERY LOGGING構文 - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQLデータ定義言語 構文規則および例

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
2021年7月
Content Type
プログラミング リファレンス
Publication ID
B035-1144-171K-JPN
Language
日本語 (日本)
BEGIN QUERY LOGGING
  [ WITH with_item [,...] ]
  [ MODE = m ]
  [ LIMIT limit_item [ AND limit_item ] ]
  ON on_items [;]
with_item
{ ALL |
  EXPLAIN |
  LOCK = n |
  NONE |
  [ NO COLUMNS ] OBJECTS | 
  PARAMINFO |
  FEATUREINFO |
  SQL |
  [ DETAILED ] STATSUSAGE |
  STEPINFO | 
  USECOUNT | 
  UTILITYINFO | 
  [ VERBOSE ] XMLPLAN
}
limit_item
{ SQLTEXT [ = n] |
 
  { SUMMARY = n1, n2, n3 | THRESHOLD [ = n ] }
    [ CPUTIME | CPUTIMENORM | ELAPSEDSEC | ELAPSEDTIME | IOCOUNT ]
}
on_items
{ { ALL | user_name } [ ACCOUNT = { 'account_string' | ('account_string' [,...]) } ] |

  { user_name | database_name }[,...] |
    APPLNAME = { 'application_name' | ('application_name' [,...])
  }
}