Local Temp Tables
Oracle Database Basic Course
Created by :
Database, Oracle
course
Programming, Software and application
1739
2020-12-07 03:13:23
In Oracle, local temporary tables are distinct within modules. These tables are defined and scoped to the session in which you created it.
Declare local temporary table
Syntax
DECLARE LOCAL TEMPORARY TABLE table_name ( column1 datatype [ NULL | NOT NULL ], column2 datatype [ NULL | NOT NULL ], ... column_n datatype [ NULL | NOT NULL ] );
Here
- table_name: The parameter table_name specifies the local temporary table that you want to create.
- column1, column2,... column_ n: It specifies the column that you want create in the local temporary table. Every column must have a datatype and should be defined as NULL or NOTNULL. If the value is left blank, it is by default treated as NULL.

- Database Overview
- What Is Oracle Database
- History of Oracle Database
- Why Oracle Database
- Features of Oracle Database
- Oracle Vs. SQL Server: Key Differences
- Oracle Vs. MySQL Server: Key Differences
- Oracle Vs. NoSQL
- Install Oracle Database Server
- Oracle Database Sample Schema
- Execute Sample Database
- Connect to SQL Developer and Other SQL Editor