Writing:
- : CREATE TABLE Person (
- : name CHAR (10),
- : ssn INTEGER);
and save it in the "a.sql" file (the colon represents the beginning of the line, not in the actual code.)
If I run it by typing "@a" at the SQL * Plus command prompt, it will tell me that the line starting with "ssn" is not recognized as a command and is ignored.
From what I am collecting, it seems that sqlplus terminates the command if it encounters several newlines in a line. Is this an exact statement? If so, does anyone know if this is necessary / why does he decide to do this?
sql oracle language-design whitespace sqlplus
Matt boehm
source share