result set data type 譟一 .
create procedure denali_withresultset
as
select 1 as no,'tsql' type, 'withresultset' as feature union all
select 2 as no,'tsql' type, 'throw' as feature union all
select 3 as no,'tsql' type, 'offset' as feature union all
select 4 as no,'tsql' type, 'sequence' as feature
go
exec denali_withresultset
with result sets
(
( no int,
featuretype varchar(50),
featurename varchar(50)
)
)
--蟆郁骸螳 れ螻 螳 り
/*
no featuretype featurename
1 tsql withresultset
2 tsql throw
3 tsql offset
4 tsql sequence
*/