Starts the auditing of SQL requests that attempt to access data.
This topic describes only the portions of the BEGIN LOGGING syntax diagram that are specific to this Teradata QueryGrid connector. For information about the other syntax that you can use with BEGIN LOGGING, see Teradata® Database SQL Data Definition Language - Syntax and Examples, B035-1144.
- ON FOREIGN SERVER object_name
- Indicates that the database object for which access is to be logged is a foreign server.
- You must specify an object name, which is the name of the foreign server. You can optionally specify the name of the containing database, which must be TD_SERVER_DB. You cannot use a user_name with FOREIGN SERVER.