Skip to content

Commit f677acb

Browse files
Update 03 - Table Types.md
1 parent 4d94e3c commit f677acb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Database Articles/Advanced SQL Joins/03 - Table Types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ SELECT * FROM @TableVariable;
347347
--------------------------------------------------------------------------------------------------------
348348
#### User-Defined Table Types
349349

350-
User-defined table types (UDTTs) are a special kind of user-defined type in SQL Server that allows for the definition of table structures. These structures can be used as parameters in stored procedures or functions, allowing for the passage of multiple rows of data in a single parameter. Essentially, UDTTs let you define a "template" for a table, which can then be instantiated as Table-Valued Parameters (TVPs) in your T-SQL code.
350+
User-defined table types are a special type in SQL Server that allows for the definition of table structures. These structures can be used as parameters in stored procedures or functions, allowing for the passage of multiple rows of data in a single parameter.
351351

352-
They function the same as table variables but are schema-bound and can be used with stored procedures and functions. By defining a specific structure for the table data being passed, table types enforce a level of data integrity and consistency. This ensures that the data conforms to the expected format, reducing errors and improving reliability.
352+
They function the same as table variables but are schema-bound and can be used with stored procedures and functions. By defining a specific structure for the table data being passed, table types enforce a level of data integrity and consistency. This ensures the data conforms to the expected format, reducing errors and improving reliability.
353353

354354
```sql
355355
CREATE TYPE MyTableType AS TABLE

0 commit comments

Comments
 (0)