list_triggers
Identify and retrieve all database triggers along with their associated tables, with optional filters for schema or table name, using a SQL Server connection string or named connection.
Instructions
List all triggers in the database with their associated tables
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
connectionString | No | SQL Server connection string (uses default if not provided) | |
schema | No | Schema name (default: dbo) | |
tableName | No | Filter by specific table name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"connectionName": {
"description": "Named connection to use (e.g., 'production', 'staging')",
"type": "string"
},
"connectionString": {
"description": "SQL Server connection string (uses default if not provided)",
"type": "string"
},
"schema": {
"description": "Schema name (default: dbo)",
"type": "string"
},
"tableName": {
"description": "Filter by specific table name",
"type": "string"
}
},
"type": "object"
}