Create Global Temporary table in Command window

Roeland

Member³
Hi,

when executing the following code inside a Command Window, nothing happens. When executing the same code in a SQL window, the table was generated...

Code:
CREATE GLOBAL TEMPORARY TABLE Tmp_Test
(
   ID Varchar2(16) NOT NULL
)
ON COMMIT DELETE ROWS
;
Any idea?

Version 7.1.5.1398
 
you are right.

the correct example should be:

Code:
CREATE GLOBAL TEMPORARY TABLE Tmp_Test
(
   ID Varchar2(16) NOT NULL
)
ON COMMIT DELETE ROWS

;
Note the empty line above ';'

How did you know? Is this a bug already know? Or is this a grammatical error from my side?

Regards,

Roeland
 
Back
Top