OracleL

DDL  :
Data Definition Language (DDL) statements are used to
define the database structure or schema. Some examples:

CREATE - to
create objects in the database

ALTER - alters the structure of the
database

DROP - delete objects from the database

TRUNCATE -
remove all records from a table, including all spaces allocated for the
records are removed

COMMENT - add comments to the data
dictionary

RENAME - rename an object

DML:

Data
Manipulation Language (DML) statements are used for managing data within
schema objects. Some examples:

SELECT - retrieve data from the a
database

INSERT - insert data into a table

UPDATE - updates
existing data within a table

DELETE - deletes all records from a
table, the space for the records remain

MERGE - UPSERT operation
(insert or update)

CALL - call a PL/SQL or Java subprogram

EXPLAIN PLAN - explain access path to data

LOCK TABLE - control
concurrency

DCL

Data Control Language (DCL) statements. Some
examples:

GRANT - gives user‘s access privileges to database


REVOKE - withdraw access privileges given with the GRANT command


TCL

Transaction Control (TCL) statements are used to manage the
changes made by DML statements. It allows statements to be grouped
together into logical transactions.

COMMIT - save work done


SAVEPOINT - identify a point in a transaction to which you can later
roll back

ROLLBACK - restore database to original since the last
COMMIT

SET TRANSACTION - Change transaction options like isolation
level and what rollback segment to use

OracleL,布布扣,bubuko.com

时间: 2024-08-09 07:32:18

OracleL的相关文章

深入理解Oracle RAC 12c

深入理解Oracle RAC 12c(顶尖专家权威指南唯一最新版数据库著作 Oracle第一社区技术大牛翻译 Amazon五星推荐) [美]Syed Jaffar Hussain(赛义德 贾法尔 侯赛因),Tariq Farooq(塔里克 法鲁克),Riyaj Shamsudeen(瑞亚吉沙姆斯丁),Kai Yu(于凯) 著   赵燚 梁涛 程飞 李真旭 译 ISBN 978-7-121-24066-9 2014年10月出版 定价:99.00元 488页 16开 编辑推荐 <深入理解 Oracl

Icinga快速安装与配置

Icinga快速安装与配置/* body */body { margin: 20px; padding: 0; font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif; font-size: 0.72em; color: #262625; /*background: #EFEFEF;*/ background: #FFFFFF; font-f

java面试题001

hibernate中离线查询去除重复项怎么加条件?? dc.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); http协议及端口,smtp协议及端口 http:超文本传输协议    端口 80 smtp:简单邮件传输协议 端口25 编写程序,完成文件复制功能 Servlet创建过程及生命周期Servlet 在容器中运行时,其实例的创建及销毁等是由容器进行控制. Servlet 的创建有两种方法. 客户端请求对应的 Servlet 时,创建

官网 Icinga快速安装与配置

Icinga快速安装与配置 1.1. 绪论 1.2. 前提条件 1.3. 安装软件包 1.4. 创建帐户信息 1.5. 编译和安装Icinga(包括IDOUtils) 1.5.1. 编译和安装 1.6. 定制配置 1.6.1. 启用idomod event broker 模块 1.7. 数据库创建和IDOUtils 1.8. 配置经典的Web界面 1.9. 编译和安装Icing插件 2.0. 调整SELinux的设置 2.1. 启动IDOUtils和Icinga 2.1.1. 配置Icinga开

oracle exp/imp工具使用

最近在学习oraclel备份与恢复的知识,特总结了逻辑备份与恢复的使用方法: 一.逻辑备份的介绍: 所谓备份 ,就是把数据库复制到转储设备的过程.其中,转储设备是指用于放置数据库拷贝的磁带或磁盘. Oracle数据库有三种标准的备份方法,它们分别是导出/导入(EXP/IMP).热备份和冷备份.导出备件是一种逻辑备份,冷备份和热备份是物理备份. 下面咱们就来讲讲导入导入(EXP/IMP)用法. 二.EXP/IMP工具介绍: 利用Export可将数据从数据库中提取出来,利用Import则可将提取出来

Linux 静默安装 oracle

1.准备安装包linux.x64_11gR2_database_1of2.ziplinux.x64_11gR2_database_2of2.ziprlwrap-0.30.tar.gz 2.安装依赖关系先建立本地yum源(略)1)检查依赖包是否完全//查看已经安装的包rpm -qa binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel expat gcc gcc-c++ glibc glibc-common glibc