简体   繁体   English

什么相当于 SQL Server 中的“作为表”

[英]What is equivalent to 'as table of' in SQL Server

I have a following query in Oracle that I need to convert to SQL Server我在 Oracle 中有以下查询需要转换为 SQL Server

Oracle:甲骨文:

create or replace
TYPE "PARAMS" as table of varchar2(3000)

I am unsure how to convert 'as table of' object to SQL Server.我不确定如何将“作为表”对象转换为 SQL Server。

I'm pretty sure that's Oracle's way of creating user defined table types.我很确定这是 Oracle 创建用户定义表类型的方式。 In T-SQL it would look like this:在 T-SQL 中,它看起来像这样:

CREATE TYPE Params AS TABLE
(
    Nvarchar(3000) 
)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM