Executing DDL in SQL Plus [message #70565] |
Mon, 01 July 2002 00:18 |
Raj
Messages: 411 Registered: November 1998
|
Senior Member |
|
|
I start SQL Plus and set the sql terminator to "~".
I then use the file->load menu to load the <file>.ddl file. The file gets loaded.,
When I type in the "~" character to execute the DDL, I get:
681 ~
);
*
ERROR at line 6;
ORA-00911: invalid character
Line 6 being:
);
When I copy paste the DDL into SQL Plus, I can seem to be able to paste more than 20 lines at a time.
Obviously, SQL*Plus is capable of running big DDL's.
So any pointers to what I am doing wrong would be much appreciated.
Cheers
-raj
|
|
|
|
Re: Executing DDL in SQL Plus [message #70621 is a reply to message #70565] |
Mon, 08 July 2002 06:54 |
Raj
Messages: 411 Registered: November 1998
|
Senior Member |
|
|
I am still unable to run a DDL file (by loading it in) even when I replace all my ";" with "~" in the DDL file.
Does one need to put in something between two
create Table (
)~
create Table (
)~
blocks. I have blank lines between these blocks in my DDL but they seem to disappear when loaded into SQL*Plus. However it works if I copy/paste individual blocks in (rather annoying).
Cheers
-raj
|
|
|