|
|
Re: No Semi-colon used in buffer editor Sqlplus [message #593110 is a reply to message #592935] |
Wed, 14 August 2013 03:27   |
gazzag
Messages: 1114 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
When you type in a statement with no semi-colon, the statement is simply loaded into the buffer. You can display the buffer by typing "list" or simply "l". Then you type a forward slash ("/") to run it.
However, if you end the statement with a semi-colon (";") this has the effect of loading it into the buffer and running it.
So these two statements are the same:
SQL> select * from dual
2 /
D
-
X
and
select * from dual;
D
-
X
HTH
-g
|
|
|
|
|
|
|