Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Error for datawindow get data from temp table with SP

$
0
0

I create a SP to produce results. In this SP, results recorded in a temp table #mytemp. The final sql in this sp is like:

 

select * from #mytemp

 

Then I create datawindow to display data from this sp and got following error:

 

Number 277 Select Error: there was a transactin active when exiting the stored procedure 'myproc'. The temporary table '#mytemp' was dropped in this transaction either explicitly or implicitly. This transaction has been aborted to prevent database corruption.

 

How to resolve this problem?


Viewing all articles
Browse latest Browse all 8419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>