您是否需要特定版本的Sql Server 2008才能拥有TVP(表值参数)或表类型?
我没有类型下的文件夹,并且在尝试创建文件夹时遇到错误:
CREATE Type EntityTable AS TABLE
(EntityId int
,EntityName varchar(max)
,EntityFriendlyName varchar(max)
,IconPath varchar(max)
,EntityDescription varchar(max)
,EntityToolTip varchar(max)
,TableName varchar(max)
,EntityrFriendlyNamePlural varchar(max)
,AttachNotes bit
,AttachDocuments bit
,AllowDuplicates bit)
GO
错误:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'AS'.
答案 0 :(得分:0)