12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

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)move a column up or down in the table definition, select it and use the up-arrow anddown-arrow keys.Note: After you add a column, to add another column, click the AddColumn (+) icon.Name: Name of the column. Must be unique within the table. Suggestion: For a newcolumn, replace any default name, such as COLUMN1.Datatype: Simple indicates a simple (non-object) data type; Complex indicates anobject type. For a complex type, you must specify the schema and the type name (forexample, MDSYS and SDO_GEOMETRY for the <strong>Oracle</strong> Spatial geometry type).Type: Name of the data type. Most of the remaining information depends on thespecific type.Precision: For numeric data, the precision (total number of significant digits that canbe represented) of the column data.Scale: For numeric data, the scale (number of digits after the decimal point) of thecolumn data.Size: For character data, the maximum size of the column data.Units: For character data, the units represented by the Size: BYTE for bytes or CHARfor characters. This attribute is important if the database can contain data in Unicodeformat, with multiple bytes for each character.Default: For relevant types, the default value inserted into the column if no value isspecified when a row is inserted.Cannot be NULL: If this option is checked, the column must contain data; you cannotspecify no value or an explicit null value for this column when you insert a row. If thisoption is not checked, the column can contain either data or no data. A primary keycolumn (see Primary Key tab) cannot be null.Comment: Optional descriptive comment about the column.To add another column, click the Add Column (+) icon.Primary Key tabSpecifies the primary key for the table. The primary key is the column, or set ofcolumns, that uniquely identifies each row in the table.An index is automatically created on the primary key.Name: Name of the constraint to be associated with the primary key definition. Mustbe unique within the database.Enabled: If this option is checked, the primary key constraint is enforced: that is, thedata in the primary key column (or set of columns) must be unique and not null.Available Columns: Lists the columns that are available to be added to the primarykey definition.Selected Columns: Lists the columns that are included in the primary key definition.To add a column to the primary key definition, select it in Available Columns and clickthe Add (>) icon; to remove a column from the primary key definition, select it inSelected Columns and click the Remove (>) or Remove All (

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!