drop_function
Drop a T-SQL user-defined function in Microsoft Fabric Data Warehouses or SQL Analytics Endpoints. Optionally use IF EXISTS to avoid errors when 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, emits DROP FUNCTION IF EXISTS (no-op when function
does not exist). Defaults to false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| item | Yes | ||
| qualified_name | Yes | ||
| if_exists | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||