sql - oracle - 需要提交哪些语句?

标签 sql database oracle session commit

为了避免锁定,在对表进行进一步操作之前需要提交的语句列表是什么?我不是在谈论具有多个语句和交易完整性的完整交易;相反,我指的是单个语句。

我知道应该提交插入,但截断有一个自动提交。需要提交的语句的完整列表是什么?

需要提交(启动列表):

UPDATE
INSERT
DELETE

最佳答案

DML(数据操作语言)命令 need to be提交/回滚。 Here是这些命令的列表。

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

INSERT - insert data into a table
UPDATE - updates existing data within a table
DELETE - deletes 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

关于sql - oracle - 需要提交哪些语句?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9541013/

相关文章:

java - 在java中从SQL数据库调用Enum值

mysql - 如何查询给定固定值的值的百分比

node.js - Firebase 堆栈 "Error: too many index entries for entity"

java - DataSource.setLoginTimeout 和 DriverManager.setLoginTimeout 全局?

database - 为什么我的经典 ASP 代码会插入重复记录(即两条记录而不是一条记录)?

oracle - 表锁的oracle错误代码是什么?

mysql - mysql的for循环替代方案

c# - DataAdapter.Fill() 在加载大的十进制值时抛出溢出异常

SQL Developer 假脱机 : how to get rid of the first, 空行

mysql - 如何从一个表中选择数据并选择计数到另一个表并在MySQL中合并?