Suppose I have some type:
CREATE TYPE usr.NameList AS TABLE ([name] VARCHAR(MAX) NOT NULL);
And now I want to create a temporary table based on this type, how do I do it?
CREATE TABLE #superBrand (usr.NameList) -- doesn't work
Also, from this: create table based on a user defined type:
CREATE TABLE #superBrand OF usr.NameList -- doesn't work