Monday , November 18 2024

CREATE TABLE AS Statement

This Oracle tutorial explains how to use the Oracle CREATE TABLE AS statement with syntax and examples.

In some cases, we can create an exact replica of a table or one that meets certain conditions.

In such cases, only the NOT NULL constraint is passed to the new table. Other constraints are not passed.

We can create a table from a statement as follows.

If it is structurally the same as a table without data, we can create it as follows.

If table names are given differently and data types are not specified, it takes the data types from the selected table.

Loading

About Onur ARDAHANLI

Leave a Reply

Your email address will not be published. Required fields are marked *