2010-08-28 4 views
1

Avez-vous besoin d'une version spécifique de Sql Server 2008 pour avoir les paramètres TVP (Table Value Parameters) ou Table Types?Types de tables définis par l'utilisateur non disponibles

Je n'ai pas le dossier sous types et je reçois une erreur en essayant de créer un:

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 

erreur:

Msg 156, Level 15, State 1, Line 1 
Incorrect syntax near the keyword 'AS'. 

Répondre

Questions connexes