Overview of Tables (154)
Tables are the basic unit of data storage in an Oracle database. Data is stored in rows
and columns. You define a table with a table name (such as employees) and set of
columns. You give each column a column name (such as employee_id, last_name,
and job_id), a datatype (such as VARCHAR2, DATE, or NUMBER), and a width. The
width can be predetermined by the datatype, as in DATE. If columns are of the NUMBER
datatype, define precision and scale instead of width. A row is a collection of column
information corresponding to a single record.
You can specify rules for each column of a table. These rules are called integrity
constraints. One example is a NOT NULL integrity constraint. This constraint forces the
column to contain a value in every row.
You can also specify table columns for which data is encrypted before being stored in
the datafile. Encryption prevents users from circumventing database access control
mechanisms by looking inside datafiles directly with operating system tools.
After you create a table, insert rows of data using SQL statements. Table data can then
be queried, deleted, or updated using SQL.
表
1. 表是 Oracle 資料庫中最基本的資料儲存結構 . 資料在表中以行和列的形式儲存.
2. 定義表時指定表名 , 列名 , 資料型別
3. 使用者可以為表列設定規則 , 稱為完整性約束.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-981070/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Overview of Index-Organized Tables (227)ViewIndexZed
- dba_tables,dba_all_tables,user_tables,all_tables有什麼區別
- Flutter OverviewFlutterView
- CF154C題解
- Oracle TablesOracle
- dart class overviewDartView
- Stormstarter-OverviewORMView
- Overview of PartitioningView
- Overview of Database CheckpointsViewDatabase
- Overview of Unix ResourcesView
- oracle function overviewOracleFunctionView
- Item Import OverviewImportView
- Overview of Extents(11)View
- Overview of Partitioned IndexesViewIndex
- Overview of Tablespaces (38)View
- Overview of Views (174)View
- Overview of Datafiles (62)View
- Overview of Segments (22)View
- 高通USB overviewView
- Oracle Externale TablesOracle
- Oracle - Tables/IndexesOracleIndex
- Oracle X$TablesOracle
- Oracle X$ TablesOracle
- Edit SAP tables
- Oracle Partitioned TablesOracle
- MySQL 5.5 LOCK TABLES 和 UNLOCK TABLES 語句介紹MySql
- The differences between index-organized tables and ordinary tables (228)IndexZed
- ARC154E 做題記錄
- Overview of Availability in a CDBViewAI
- 2.4 Overview of Services in a CDBView
- 7-Overview-namesView
- 8-Overview-NamespacesViewnamespace
- 10-Overview-AnnotationsView
- [英] TensorFlow OverviewView
- Deadlock Overview and DiscussionView
- Overview of Data Blocks(二)ViewBloC
- Overview of Clusters (238)View
- Overview of Dimensions (191)View