Skip to content

Commit c17ca24

Browse files
authored
Merge pull request #34543 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents a81e283 + 36144d0 commit c17ca24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/t-sql/statements/create-function-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ SELECT * FROM Sales.ufn_SalesByStore (602);
768768

769769
### C. Create a multi-statement table-valued function
770770

771-
The following example creates the table-valued function `fn_FindReports(InEmpID)` in the [!INCLUDE [sssampledbobject-md](../../includes/sssampledbobject-md.md)] database. When supplied with a valid employee ID, the function returns a table that corresponds to all the employees that report to the employee either directly or indirectly. The function uses a recursive common table expression (CTE) to produce the hierarchical list of employees. For more information about recursive CTEs, see [WITH common_table_expression (Transact-SQL)](../queries/with-common-table-expression-transact-sql.md).
771+
The following example creates the table-valued function `ufn_FindReports(InEmpID)` in the [!INCLUDE [sssampledbobject-md](../../includes/sssampledbobject-md.md)] database. When supplied with a valid employee ID, the function returns a table that corresponds to all the employees that report to the employee either directly or indirectly. The function uses a recursive common table expression (CTE) to produce the hierarchical list of employees. For more information about recursive CTEs, see [WITH common_table_expression (Transact-SQL)](../queries/with-common-table-expression-transact-sql.md).
772772

773773
```sql
774774
CREATE FUNCTION dbo.ufn_FindReports (@InEmpID INT)

0 commit comments

Comments
 (0)