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
分享到:
相关推荐
不全,只有三个 ANSI-ISO-IEC International Standard(IS) Database Language SQL Part 1 SQL...ANSI-ISO-IEC International Standard(IS) Database Language SQL Part 5 Host Language Bindings (SQL Bindings).pdf
Oracle Database SQL Language Reference Oracle Database SQL Language Reference是Oracle数据库SQL语法参考手册,旨在提供详细的SQL语法指南和参考信息,帮助开发者和数据库管理员更好地使用Oracle数据库。下面是...
This section describes new features of Oracle Database 11g and provides pointers to additional information.
The primary tool required for implementing such applications is a database programming language, namely a formal language which is specialized in the definition and manipulation of relevant large-...
Oracle Database SQL Language Reference 11g Release 2 (11.2) 是Oracle数据库的官方文档,主要讲述了Oracle 11g Release 2版本中SQL语言的使用方法。这份指南为数据库管理员、开发人员提供了一个全面的参考手册,...
Database programming requires relatively little knowledge of C# but a lot of knowledge about relational database concepts and the database language SQL. This book assumes no prior database experience...
SQL, and Pro T-SQL 2012 Programmer's Guide provides the gateway to success in applying this increasingly important database language to everyday business and technical tasks. ☆ 出版信息:☆ [作者...
ARTDBL(Active Real-Time Database Language)是一种基于SQL的主动实时数据库语言,旨在满足实时应用的需求。ARTDBL是传统SQL语言的扩展,具有主动性、实时性和事件触发机制。该语言可以满足实时应用的特点,如实时...
2. A Functional Database Language for the Associative Model of Data Peter J .H. King. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 55 3. Scoped Referential...
DBL通常指的是Database Language,是一个广义的概念,包括DDL、DCL和DML。 8. **外键和主键关系**:外键可以与主键不同名,不一定是唯一的,但必须参照主键的唯一性,选项A正确。 9. **E-R图**:在数据库设计的**...
**Oracle Database PL/SQL Language Reference 11g** 是Oracle公司为Oracle 11g数据库系统提供的过程化SQL(Procedural SQL,简称PL/SQL)语言的官方文档。这份文档详细介绍了PL/SQL语言的各种特性与使用方法,包括...
DBL可能代表数据库语言(Database Language),暗示这里可能讨论的是Java如何与数据库交互,比如使用JDBC(Java Database Connectivity)。 在Java编程中,I/O流是程序与外部世界进行数据交换的主要方式。Java提供...
Oracle Database PL/SQL Language Reference 11g Release 2 (11.2) 是Oracle官方发布的文档,为开发人员提供了关于PL/SQL编程的详细参考。 文档的内容覆盖了从基础的PL/SQL块结构、变量和数据类型、异常处理、控制...
BNF Grammar for ISO-IEC 9075-22003 - Database Language SQL (SQL-2003) SQL-Foundation BNF Grammar for ISO-IEC 90751992 - Database Language SQL (SQL-92) BNF Grammar for ISO-IEC 90751999 - Database ...
数据库语言(Database Language)是 DBMS 提供给用户定义结构、操纵数据和管理 DBMS 的一个界面,一般包括三个子语言:数据定义子语言 DDL、数据操纵子语言 DML、数据控制子语言 DCL。 SQL 语言可以通过交互式使用...
1. SQL查询:通过LabVIEW Database Connectivity Toolkit,用户可以直接在LabVIEW中构建和执行SQL(Structured Query Language)语句,进行复杂的数据检索、更新和删除操作。 2. ADO.NET数据集:该工具包还支持使用...