Skip to content

Commit 36144d0

Browse files
authored
Merge pull request #10125 from jermyh-geneyx/create-function-transact-sql-ufn-misspell
Update create-function-transact-sql.md
2 parents ef8f586 + 143ddae commit 36144d0

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)