Roeland Member³ Sep 8, 2008 #1 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
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
Marco Kalter Administrator Staff member Sep 9, 2008 #1 Works fine for me. Are there any empty lines in reality that are missing in this example?
Roeland Member³ Sep 10, 2008 #1 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
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
Marco Kalter Administrator Staff member Sep 10, 2008 #1 It's the same behavior as SQL*Plus. It stops parsing when an empty line is encountered.