create procedure sp_test
as
begin
declare @t table(col varchar(50))
insert @t select 'hello' union all select 'world'
select * from @t
end
goexec sp_test/*
col
---------
hello
world
*/drop procedure sp_test
as
begin
declare @t table(col varchar(50))
insert @t select 'hello' union all select 'world'
select * from @t
end
goexec sp_test/*
col
---------
hello
world
*/drop procedure sp_test
可是用 rs = command.execute
返回的rs是close的,而不是
/*
col
---------
hello
world
*/
谢谢
原来是http://www.chinaasp.com/20051123/asp/4747.shtml
这个关系