SQL Server 2008 是否具有“库存”表参数类型?

aro*_*eer 5 sql-server-2008 table-valued-parameters

SQL Server 2008 是否提供任何用于表值参数的预定义表类型?

例如,如果我只想将整数列表作为表传入,并从我传入的其他参数中派生出必要的上下文,是否有适合的类型,还是必须创建它?

Mar*_*lug 4

据我所知,没有系统表类型。不过它们很​​容易制作...

create type dbo.IntList as table (
  Value int not null
)
Run Code Online (Sandbox Code Playgroud)