This Query Not work
CREATE TYPE sp_QF_MasterProductGroupTable_Type AS TABLE ( [MasterGroup] [smallint] IDENTITY((select Max (Mast