Quantcast
Channel: SCN: Message List - SAP Advantage Database Server
Viewing all articles
Browse latest Browse all 997

Re: Store Procedures do not delete temp tables created in that procedure

$
0
0

Not sure.  A quick test didn't reproduce the issue.  Can you tweak the following to show me the error?

 

try

create table #temp (id integer);

catch all

delete from #temp;

end try;

 

 

execute immediate 'insert into #temp (id) values (1)';

 

 

select * from #temp;


Viewing all articles
Browse latest Browse all 997

Trending Articles



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