Local temporary tables are valid within Modules/Schema and are bound to active SQL sessions.
The syntax to create a Local Temporary table is:
The syntax to create a Local Temporary table is:
DECLARE LOCAL TEMPORARY TABLE table_name ( fields);
Example
The above command will create a temporary "employee_temp" table.DECLARE LOCAL TEMPORARY TABLE employee_temp ( employee_id number(10) not null, employee_name varchar2(50) not null, employee_designation varchar2(50) );
No comments:
Post a Comment