Teradata Database Message 5704 - 17.10 - 5704 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
Cannot BEGIN QUERY LOGGING due to existing rule. Use REPLACE QUERY LOGGING <new options> ON %VSTR to replace.
Explanation
There is a row in the DBQLRuleTbl for this application or user/account. To change attributes, the DBQL rule must be ENDED and another BEGIN issued. If the BEGIN contained a list of users, accounts or applications, this message only indicates that one of the list has a rule. Use SELECT * FROM DBQLRULES to determine if others on the list already have a rule in place.
Generated By
opddbql.c
For Whom
End User.
Notes
None
Remedy
REPLACE QUERY LOGGING <new options> ON <user/account/applname> or (END QUERY LOGGING for user/account/applname, issue a new BEGIN QUERY LOGGING command).