I am trying to execute following script
CREATE TYPE [dbo].[GenericList] AS TABLE(
[iID] [int] NULL,
[sKey] [nvarchar](50) NULL,
[sDescription] [nvarchar](100) NULL,
[bDelete] [bit] NULL
)
GO
but error comes up
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'AS'.
I have not written this it is generated by sql server generate script utility and I am connected to remote server (my webserver) via IP.
on server it is 9.0 RTM Microsoft SQL Server Enterprise Edition
but I am using 10.50 on my computer