免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開(kāi)通VIP
SQL 中 DDL, DML, DCL 和 TCL

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
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
DDL,DML,DCL區(qū)別
oracle DCL
Mysql數(shù)據(jù)庫(kù)學(xué)習(xí)
Oracle學(xué)習(xí)之——SQL語(yǔ)言
SQL兩種語(yǔ)句
db2look - DB2 Statistics and DDL Extraction Tool
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服