Delete temp tables


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Delete temp tables

  1. #1
    Rinaldo F. Junior Guest

    Delete temp tables

    Hi.

    Two of our procedures create temp tables during the execution. We noticed
    that if we not call a "drop procedure" at the end of the execution, these
    temp tables are kept at the database. Is there any way to control the
    creation/destruction of temp tables automatically? If not, can I inspect the
    dictionary to see if a temp table is still loaded before delete it, or it
    does work only for permanent tables?

    Thanks,

    Rinaldo F. Junior



  2. #2
    Sean R. Durity Guest

    Re: Delete temp tables


    >Two of our procedures create temp tables during the execution. We noticed
    >that if we not call a "drop procedure" at the end of the execution, these
    >temp tables are kept at the database. Is there any way to control the
    >creation/destruction of temp tables automatically?


    If you are using IDS, temp tables are kept alive only as long as the user's
    session exists. Make sure you are creating them with 'create temp table.'
    You can drop them, if needed, with 'drop table'

    Sean R. Durity


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center