sql_diagnose_issue
Run a comprehensive table diagnostic checking row counts, NULLs across all columns, foreign key violations, and recent records to pinpoint data issues quickly during debugging.
Instructions
Run a comprehensive diagnostic on a table: counts, NULLs in all columns, FK violations, and recent rows. Great starting point when you notice something wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table to diagnose |