Definition:
In Oracle PL/SQL, an INSERT statement adds one or more records to any single table in a relational database. The INSERT statement may also be used add rows to the base table of a view, a partition of a partitioned table or a subpartition of a composite-partitioned table, or an object table or the base table of an object view.
Basic INSERT Example:
INSERT INTO users
(first_name, last_name)
VALUES
('john', 'smith');
For you to insert rows into a table, the table must be in your own schema or you must have the INSERT object privilege on the table.
Related Links:
Related Code Snippets:
- INSERT - Examples of INSERT statements.
