In Oracle, you do not need to specify columns, but this will not cause you to open for errors, how and when the table definition changes.
You can insert:
INSERT VALUES (value1, value2, value3);
This assumes table t has three columns
It is much better and convenient to embed with:
INSERT INTO t (column1, column2, column3) VALUES (value1, value2, value3);
I would not use PL / SQL (if you can help) when you enter context switching from PL / SQL to SQL, and then return to PL / SQL again.
Ollie
source share