Oracle SQL Developer
Oracle SQL Developer
Oracle SQL Developer
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Create/Edit Table (with advanced options)To add another column, click Add Column. When you are finished adding columns,either click OK or click the DDL tab to review the CREATE TABLE statement.DDL tab (quick creation)You can review and save the CREATE TABLE statement that <strong>SQL</strong> <strong>Developer</strong> will useto create a new table or that reflects any changes you have made to the tableproperties. If you want to make any changes, go back to the Columns tab and makethe changes there.When you are finished, click OK.Related TopicsCreate/Edit Table (with advanced options) (dialog box including advanced features)Database Objects<strong>SQL</strong> <strong>Developer</strong> User InterfaceTutorial: Creating Objects for a Small Database3.17 Create/Edit Table (with advanced options)The table dialog box is used for creating a new table or editing an existing table. Thetable properties are grouped under several tabs.To create a new table, the only things you must do are specify the schema and the tablename, add the necessary columns, and click OK. Although it is not required, youshould also specify a primary key using the Primary Key tab. For other table-relatedfeatures, use the appropriate tabs; the order in which you visit tabs usually does notmatter, although you might find it convenient to visit them in the sequence in thistopic. If you are editing an existing table, you can visit the tabs in any order.If you click OK before you are finished creating or editing the table, right-click thetable name in the Connections navigator, select Edit, and continue creating or editingthe table.Schema: Database schema in which to create the table.Name: Name of the table. Must be unique within a schema.Type: The type of table:■■■■Normal: A regular database table. It can be partitioned (see Partitioning tab,Subpartition Templates tab, and Partition Definitions tab).External: An external table (see External Table Properties tab).Index Organized: An index-organized table (see Index Organized Properties tab).Temporary: A temporary table, which is not stored permanently in the database.The temporary table definition persists in the same way as the definition of aregular table, but the table segment and any data in the temporary table persistonly for the duration of either the transaction (Transaction option) or the session(Session option).Columns tabSpecifies properties for each column in the table.Columns: Lists the columns currently in the table. To add a column, click the AddColumn (+) icon; to delete a column, select it and click the Remove Column (X) icon; toDialog Boxes for Creating/Editing Objects 3-9