drop_function
Drop a T-SQL user-defined function from a Microsoft Fabric Warehouse or SQL Analytics Endpoint, with an option to skip if the function does not exist.
Instructions
Drop a T-SQL user-defined function.
Function DDL is supported on both Data Warehouses and SQL Analytics Endpoints.
Args:
workspace: Workspace name or GUID.
item: Warehouse or SQL Analytics Endpoint name or GUID.
qualified_name: Dot-separated qualified function name, e.g. dbo.fn_clean_input.
if_exists: When true, a missing function is treated as a no-op and
{"dropped": false} is returned instead of raising an error.
Defaults to false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| if_exists | No | ||
| workspace | Yes | ||
| qualified_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||