当前位置:网站首页>sql中ddl和dml(数据库表与视图的区别)
sql中ddl和dml(数据库表与视图的区别)
2022-08-01 11:07:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
DDL和DML的定义和区别
1、DML(Data Manipulation Language)数据操纵语言:
适用范围:对数据库中的数据进行一些简单操作,如insert,delete,update,select等.
对表(索引和序列)中数据操作就是DML,对数据库中的(表,索引,序列,同义词等)都是DDL操作
2、DDL(Data Definition Language)数据定义语言:
适用范围:对数据库中的某些对象(例如,database,table)进行管理,DDL的对象就是这三个关键字
Create,Alter和Drop.
区别:
1.DML操作是可以手动控制事务的开启、提交和回滚的。
2.DDL操作是隐性提交的,不能rollback!
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/126882.html原文链接:https://javaforall.cn
边栏推荐
- 解决vscode输入! 无法快捷生成骨架(新版vscode快速生成骨架的三种方法)
- Jenkins安装插件遇到的问题
- 重庆市大力实施智能建造,推动建筑业数字化转型,助力“建造强市”
- July 31, 2022 -- Take your first steps with C# -- Use arrays and foreach statements in C# to store and iterate through sequences of data
- Introduction to data warehouse layering (real-time data warehouse architecture)
- 2022年中盘点 | 产品打底,科技背书,广汽集团阔步向前
- 利用正则表达式的回溯实现绕过
- Sparse representation - study notes
- 如何设计一个分布式 ID 发号器?
- The difference between undefined and null in JS
猜你喜欢

Excel表格打印时不打印标记填充颜色

Golang内存分析工具gctrace和pprof实战

博弈论(Depu)与孙子兵法(42/100)

Promise学习(四)异步编程的终极解决方案async + await:用同步的方式去写异步代码

How to Steal $100 Million from the Perfect Smart Contract

Sparse representation - study notes

.NET性能优化-使用SourceGenerator-Logger记录日志

Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器

进制与转换、关键字

解决vscode输入! 无法快捷生成骨架(新版vscode快速生成骨架的三种方法)
随机推荐
July 31, 2022 -- Take your first steps with C# -- Use arrays and foreach statements in C# to store and iterate through sequences of data
进制与转换、关键字
Promise学习(二)一篇文章带你快速了解Promise中的常用API
Qt supports HEIC/HEIF format images
leetcode/submatrix element sum
shell--第九章练习
Small application project works WeChat gourmet recipes applet graduation design of finished product (1) the development profile
NIO‘s Sword(思维,取模,推公式)
July 31, 2022 -- Take your first steps with C# -- Use C# to create readable code with conventions, spaces, and comments
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (3) Background Functions
【随心笔记】假期快过去了,都干了点什么
小程序毕设作品之微信美食菜谱小程序毕业设计成品(3)后台功能
上周热点回顾(7.25-7.31)
shell--面试题
基于ModelArts的物体检测YOLOv3实践【玩转华为云】
How I secured 70,000 ETH and won a 6 million bug bounty
Drawing arrows of WPF screenshot control (5) "Imitation WeChat"
xss漏洞学习
小程序毕设作品之微信美食菜谱小程序毕业设计成品(4)开题报告
OpenHarmony高校技术俱乐部计划发布