Getting error while creating type "table" in SQL Server -
i creating type table , query as:
create type dbo.tbl table(country_code varchar(5), country_name varchar(150), country_capital varchar(150), continent_code char(2) );
but when execute it, error:
msg 156, level 15, state 1, line 1
incorrect syntax near keyword 'as'.
please suggest solution
Comments
Post a Comment