Id',@_msparam_0=N'DistCritGroupData',@_msparam_0=N'dbo'  exec sp_executesql N'SELECT p.name AS [Name], CAST(p.value AS sql_variant) AS [Value] FROM sys.table_types AS tt INNER JOIN sys.schemas AS stt ON stt.schema_id = tt.schema_id INNER JOIN sys.all_columns AS clmns ON clmns.object_id=tt.type_table_object_id INNER JOIN sys.extended_properties AS p ON p.major_id=tt.user_type_id AND p.minor_id=clmns.column_id AND p.class=0 WHERE (clmns.name=@_msparam_0)and((tt.name=@_msparam_0 and SCHEMA_NAME(tt.schema_id)=@_msparam_0)) ORDER BY [Name] ASC',N'@_msparam_0 nvarchar(0000),@_msparam_0 nvarchar(0000),@_msparam_0 nvarchar(0000)',@_msparam_0=N'O