get_function_definition
Retrieve the CREATE FUNCTION definition for a specified function in a SQL Server database, returning the exact T-SQL code used to create it.
Instructions
Get the CREATE FUNCTION definition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database name | |
| function | Yes | Function name (can include schema) |