I am calling a stored procedure from VB using OLEDB. The stored procedure is getting some data from 4 tables and inserting into a #tmp table. After that it is doing some processing on the data in the #tmp table. Last statement in the stored procedure is select * from #tmp. When I call this stored procedure from VB, I am getting an error message which says that 'operation can't be performed when the object is closed'. I modified the same stored procedure without any #tmp tables. Then it works fine. But I need to do some processing on the data. Can someone please help me.
Thanks,
Kolla123
Thanks,
Kolla123