We recently ran into a situation where a script containing the command:
Did not add the new columns to the table, but no error was reported.
It turns out the two spaces before the "/" in the script caused the problem. If the "/" is the first character in the line, then it works.
The script, as is, works from SQL*Plus. Could this be looked at and fixed?
Thanks, Maury
ALTER TABLE TABLE_NAME
ADD (
NEW_COLUMN_1 VARCHAR2(100),
NEW_COLUMN_2 VARCHAR2(100),
NEW_COLUMN_3 VARCHAR2(100),
NEW_COLUMN_4 VARCHAR2(100)
)
/
Did not add the new columns to the table, but no error was reported.
It turns out the two spaces before the "/" in the script caused the problem. If the "/" is the first character in the line, then it works.
The script, as is, works from SQL*Plus. Could this be looked at and fixed?
Thanks, Maury
Last edited: