急!!!储存过程使用临时表时如何用ADO取得结果.
我要 VB sample: (NT SP 5 + SQL Server SP2 + VB 6 SP4)
SP:
Create MySp as
create table #m_tmp(code char(10), name char(10), age integer)
insert into #m_tmp (code, name, age) values ( 'oo', 'pp', 1)
select * from #m_tmp
使用 Query分析器可以看到结果, 但是 VB 的 Ado.Command 总是返回 关闭的 Recordset