How to create a table type in Sql Server 2005

后端 未结 2 1294
轻奢々
轻奢々 2021-01-05 01:29

I\'m trying to create a table type in sql server 2005.

Here is what my code looks like:

    CREATE TYPE NameResourceType AS TABLE
(
   ID int, 
   [V         


        
相关标签:
2条回答
  • 2021-01-05 02:13

    New in SQL Server 2008... "Table-Valued Parameters"

    CREATE TYPE in SQL Server 2005 refers to "simple" user defined data types only... notice the difference in the SQL Server 2008 CREATE TYPE

    0 讨论(0)
  • 2021-01-05 02:29

    Table alias data types & Table-Valued parameters were introduced in SQL Server 2008 so are not available in prior versions.

    0 讨论(0)
提交回复
热议问题