How to create a table type in Sql Server 2005
- by Nikola Stjelja
Hi, I'm trying to create a table type in sql server 2005.
Here is what my code looks like:
CREATE TYPE NameResourceType AS TABLE
(
ID int,
[Value] Varchar(256)
)
GO
I receive the following error:
Incorrect syntax near the keyword 'AS'.