les03 cretab tellme





Creating Tables



















The interactions in this eCourse require Javascript to be enabled.



 

Creating Tables



previous|next






You create tables with the SQL
CREATE TABLE statement. With Oracle Database XE, you have two options for
creating tables.

Use the graphical interface
that generates the SQL statement
Enter the CREATE TABLE statement
in the SQL Workshop tool

When creating tables, you must provide:

Table name
Column name(s)
Data types for each column

Guidelines
for creating tables:

Table
and column naming rules







Must start with a letter, which is followed
by a sequence of letters, numbers, _, #, or $
Must be 1 to 30 characters long
Must not be an Oracle server reserved
password
 








Most
common data types







VARCHAR2
NUMBER
DATE
TIMESTAMP
CHAR
 










You can also set up constraints on your
columns to control the data in them.








Wyszukiwarka

Podobne podstrony:
les03 modtab tellme
les03 remtab tellme
les03 cretab01 showme
les03 mancon01 tellme
les03 mancon03 tellme
les03 cretab02 showme
les03 mancon02 tellme
les03 cretab03 showme
les08 man triggers tellme
les08 pack tellme1
les08 func cre tellme1
les08 func cre tellme2
les08 pack spec tellme
les08 cre block1 tellme
les03 mancon showme
les08 cre block2 tellme
les08 audit trigger1 tellme
les03?obj whylearnit

więcej podobnych podstron