Basic Oracle Concepts and Programming Question: Download Questions PDF
How To Create a Table Interactively?
Answer:
If you don't want to use SQL statements to create a new table, you use SQL Developer to create one interactively. Follow the steps below to create a new table called: TIP
► Right-click on the Tables in the object tree area.
► Select Create TABLE. Create Table window shows up.
► Enter Name as: TIP
► Enter Column Name as: ID, for column 1.
► Select Type as: INTEGER, for column 1.
► Click Primary as: Checked, for column 1.
► Click Add Column to add column 2.
► Enter Column Name as: SUBJECT, for column 2.
► Select Type as: VARCHAR2, for column 2.
► Select Size as: 80, for column 2.
► Click OK.
► Right-click on the Tables in the object tree area.
► Select Create TABLE. Create Table window shows up.
► Enter Name as: TIP
► Enter Column Name as: ID, for column 1.
► Select Type as: INTEGER, for column 1.
► Click Primary as: Checked, for column 1.
► Click Add Column to add column 2.
► Enter Column Name as: SUBJECT, for column 2.
► Select Type as: VARCHAR2, for column 2.
► Select Size as: 80, for column 2.
► Click OK.
Download Oracle Database Interview Questions And Answers
PDF
Previous Question | Next Question |
How To Get a CREATE Statement for an Existing Table? | How To Enter a New Row into a Table Interactively? |