当前位置:网站首页>ddl and dml in sql (the difference between database table and view)
ddl and dml in sql (the difference between database table and view)
2022-08-01 11:32:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
DDL and DMLDefinition and difference
1. DML (Data Manipulation Language) data manipulation language:
Scope of application: perform some simple operations on the data in the database, such as insert, delete, update, select, etc.
Data operations in tables (indexes and sequences) are DML operations, and data operations in databases (tables, indexes, sequences, synonyms, etc.) are DDL operations
2. DDL (Data Definition Language) data definition language:
Scope of application: To manage some objects in the database (for example, database, table), the objects of DDL are these three keywords
Create, Alter and Drop.
Difference:
1.DML operations can manually control the opening, committing and rolling back of transactions.
2. DDL operations are implicitly submitted and cannot be rolledback!
Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/126882.htmlOriginal link: https://javaforall.cn
边栏推荐
- Promise学习(二)一篇文章带你快速了解Promise中的常用API
- 表达式引擎在转转平台的实践
- R语言两个时间序列数据的滞后相关性可视化:使用forecast包的ccf函数绘制交叉相关函数,根据可视化结果分析滞后相关性
- 回归预测 | MATLAB实现RNN循环神经网络多输入单输出数据预测
- 从零开始Blazor Server(4)--登录系统
- For small applications, which database is better to use?
- pgAdmin 4 v6.12 发布,PostgreSQL 开源图形化管理工具
- R语言ggplot2可视化:使用ggpubr包的ggdensity函数可视化密度图、使用stat_central_tendency函数在密度中添加均值竖线并自定义线条类型
- R语言ggplot2可视化:使用ggpubr包的ggscatter函数可视化散点图、使用xscale函数指定X轴坐标轴度量调整方式、设置x轴坐标为scientific使用科学计数法显示坐标值
- 在线GC日志分析工具——GCeasy
猜你喜欢
2022 Go生态圈 rpc 框架 Benchmark
Qt get all files in a folder
Promise学习(三)Promise的几个关键性问题 -- 状态改变、执行顺序与机制、多任务串联、异常穿透、中断promise链
Qt获取文件夹下所有文件
轮询和长轮询的区别
数字化转型实践:世界级2B数字化营销的方法框架
CAN通信的数据帧和远程帧
【likeshop】回收租凭系统100%开源无加密 商城+回收+租赁
稀疏表示--学习笔记
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (4) Opening Report
随机推荐
bat倒计时代码
Kaitian aPaaS mobile phone number empty number detection [Kaitian aPaaS battle]
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (4) Opening Report
Promise学习(四)异步编程的终极解决方案async + await:用同步的方式去写异步代码
STM32 CAN过滤器配置详解
【Unity3D插件】AVPro Video插件分享《视频播放插件》
力扣解法汇总1374-生成每种字符都是奇数个的字符串
判断JS数据类型的四种方法
Basic configuration commands of cisco switches (what is the save command of Huawei switches)
Favorites|Mechanical Engineer Interview Frequently Asked Questions
【社区明星评选】第24期 8月更文计划 | 笔耕不辍,拒绝躺平!更多原创激励大礼包,还有华为WATCH FIT手表!
Istio Meetup China:全栈服务网格 - Aeraki 助你在 Istio 服务网格中管理任何七层流量
Solve vscode input! Unable to quickly generate skeletons (three methods for the new version of vscode to quickly generate skeletons)
Push the local project to the remote repository
如何设计一个分布式 ID 发号器?
.NET analyzes the LINQ framework in depth (three: the elegant prelude of LINQ)
C语言实现!20000用4秒计算
PDMan-domestic free general database modeling tool (minimalist, beautiful)
【公开课预告】:超分辨率技术在视频画质增强领域的研究与应用
xss-labs靶场挑战