-
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
-
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
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|