Symptom
- Large number of orphan #temp tables were left in the tempdb
- The explicit drop is not dropping the table and is left as orphaned.
- A batch sql were run using pyodbc, pysybdb or JDBC.
- The batch sql include "select into #temp.. select * from #temp drop table #temp"
- Example in pysybdb:
cur.execute("select id into #mytable from sysobjects select * from #mytable drop table #mytable")
Read more...
Environment
Adaptive Server Enterprise 16.0
Product
SAP Adaptive Server Enterprise 16.0
Keywords
python,pyodbc, java, JDBC,PreparedStatement
, KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview