15.00 - 5704 Cannot BEGIN QUERY LOGGING due to existing rule. Use REPLACE QUERY LOGGING ew options ON %VSTR to replace. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1096-015K
Language
English (United States)

5704 Cannot BEGIN QUERY LOGGING due to existing rule. Use REPLACE QUERY LOGGING ew 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.

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).