dba_userSqlList
Retrieve SQL query history for a specific user or all users within a specified number of days using the MCP server. Ideal for monitoring and auditing Teradata database activities.
Instructions
Get a list of SQL run by a user in the last number of days if a user name is provided, otherwise get list of all SQL in the last number of days.
Arguments: user_name - user name no_days - number of days
Returns: ResponseType: formatted response with query results + metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
no_days | Yes | ||
user_name | Yes |