- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Purpose and table creation syntax of “Declared temporary table”
The declared temporary tables are also non-permanent tables but unlike created temporary tables they can be defined in the application program. The existence of a declared temporary table is limited to program execution. Since the declared temporary tables are created and deleted at the runtime, their entries are not stored into DB2 system table SYSIBM.SYSTABLES.
The declared temporary table can be defined in the program using DECLARE GLOBAL TEMPORARY TABLE statement. The advantage of a declared temporary table over a created temporary table is that we can add constraints and indexes in these tables.
- Related Articles
- Purpose and table creation syntax of “Created temporary table”
- How can I delete MySQL temporary table?
- Deleting from temporary table in SAP HANA
- Create a temporary table similar to a regular table with MySQL LIKE
- How to get the creation date of a MySQL table?
- Create a temporary table in a MySQL procedure?
- How to list temporary table columns in MySQL?
- Create a temporary table with dates in MySQL
- How do I get the creation date of a MySQL table?
- Executing a table creation using UI in SAP HANA Studio
- How to get the creation time of recently created table in MySQL?
- How to create a temporary MySQL table in a SELECT statement without a separate CREATE TABLE?
- PHP and MYSQL database connection and table creation only once if it does not already exist?
- How can we create a MySQL temporary table by using PHP script?
- Insert multiple values in a temporary table with a single MySQL query?

Advertisements