get_view_definition
Retrieve the SQL definition of a SQL Server view and its referenced tables. Use this to inspect view logic and dependencies.
Instructions
Get the SQL definition of a view along with referenced tables
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: dbo) | |
| viewName | Yes | Name of the view |