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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle TablesOracle
- Flutter OverviewFlutterView
- mysql關於FLUSH TABLES和FLUSH TABLES WITH READ LOCK的理解MySql
- dart class overviewDartView
- [英] TensorFlow OverviewView
- Overview of Availability in a CDBViewAI
- CF154C題解
- mysqld --skip-grant-tablesMySql
- CRICOS Data Structures and AlgorithmsHash TablesStructGo
- 7-Overview-namesView
- 8-Overview-NamespacesViewnamespace
- 10-Overview-AnnotationsView
- 2.4 Overview of Services in a CDBView
- 高通USB overviewView
- DeepLearning – Overview of Sequence modelView
- Spring Cloud: Overview 概述SpringCloudView
- How Logs Work On MySQL With InnoDB TablesMySql
- HDU1213-How Many Tables
- Educational Codeforces Round 154 (Rated for Div. 2)
- ARC154E 做題記錄
- 9-Overview-Labels and SelectorsView
- 11-Overview-Field SelectorsView
- 12-Overview-Recommended LabelsView
- Overview-(概述 What is Kubernetes)View
- 4-Overview-Kubernetes APIViewAPI
- 2.6.2 Overview of Flashback PDB in a CDBView
- 2.2.7 Overview of PDB Lockdown ProfilesView
- 2.2.6 Overview of Common Audit ConfigurationsView
- An Overview of PostgreSQL & MySQL Cross ReplicationViewMySqlROS
- 【Machine Teaching】An Overview of Machine TeachingMacView
- Moving Tables(貪心演算法)演算法
- the --skip-grant-tables option so it cannot
- PostgreSQL DBA(154) - pgAdmin(bool轉換為smallint)SQL
- 5-Overview-Understanding Kubernetes ObjectsViewObject
- 6-Overview-Kubernetes Object ManagementViewObject
- 1-Overview-(概述 What is Kubernetes)View
- 2.7 Overview of Oracle Resource Manager in a CDBViewOracle
- 2.5 Overview of Tablespaces and Database Files in a CDBViewDatabase
- 2.2.5 Overview of Common and Local Objects in a CDBViewObject