dba_tableSqlList
Retrieve SQL statements executed against a specific table. Use to see what queries have run on a named table.
Instructions
Retrieve SQL statements that have been executed against a specific named table. Use when the user asks what queries have run against a particular table. ONLY call when the user has explicitly named a specific table — if no table name is in the message, ask for clarification. Do NOT use for SQL history by user — use dba_userSqlList when the user asks what queries a specific person has been running.
Arguments: table_name - Table name to search for no_days - Number of days to look back persist - If True, materializes result as a volatile table and returns table name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no_days | No | Number of days to look back | |
| persist | No | If True, materializes result as a volatile table and returns table name | |
| table_name | Yes | Table name to search for |