当前位置:网站首页>[SQL] SQL expansion languages of mainstream databases (T-SQL, pl/sql, pl/pgsql)
[SQL] SQL expansion languages of mainstream databases (T-SQL, pl/sql, pl/pgsql)
2022-07-05 23:41:00 【Average again】
Preface
Expansion of databases sql Different grammar , But it's all about Standards sql Make it more programmable on the basis of
- T-SQL Corresponding SQL Server
- PL/SQL Corresponding Oravle
- standard SQL Corresponding MySQL
- PL/PGSQL Corresponding Postgre SQL
standard SQL
The document is in English , It's a little bit too much
ISO_IEC 9075-1-2016
Structured query language , Include :
- Data definition language (DDL), for example :CREATE、DROP、ALTER Such statements ;
- Data manipulation language (DML), for example :INSERT( Insert )、UPDATE( modify )、DELETE( Delete ) sentence ;
- Data query language (DQL), for example :SELECT sentence ;
- Data control language (DCL), for example :GRANT、REVOKE、COMMIT、ROLLBACK Such statements
T-SQL
T-SQL namely Transact-SQL, yes SQL stay Microsoft SQL Server An enhanced version of , It is used to allow applications to interact with SQL Server The main language of communication .T-SQL Provide standards SQL Of DDL and DML function , Plus the extended function 、 System stored procedures and programming structure ( for example IF and WHILE) Make programming more flexible .
T-SQL Introduction and basic grammar
PL/SQL
PLSQL yes Procdure Language/Standards Query Language Abbreviation ,PL/SQL It's right SQL Extension of language stored procedure language . It has now become a process processing language , abbreviation PL/SQL. at present ,PL/SQL It mainly consists of two parts , One is the database engine , It's called a database PL/SQL. The second is an independent engine that can be embedded in other product tools , Also called tool PL/SQL. The two programs are very similar , Have a specific structure 、 Grammatical and logical mechanisms . in addition , Tools PL/SQL Syntax for supporting tools has also been added .
PL/PGSQL
pl/pgsql It's also a programming language , It's called process SQL Language (Procedural Language/ Postgres SQL).pl/pgsql yes Postgresql [1] Database pair SQL Statement extension . In general SQL The use of statements adds the features of programming languages , therefore pl/pgsql It is to organize data operations and query statements in pl/pgsql In the procedural unit of code , To judge by logic 、 Loop and other operations to achieve complex functions or computational programming language .
PL/PGSQL One of the main differences from the above two is more SQL Shell(psql)
边栏推荐
- C# 文件与文件夹操作
- Opencvsharp (C openCV) shape detection and recognition (with source code)
- (4) UART application design and simulation verification 2 - RX module design (stateless machine)
- Practice of concurrent search
- How to design API return code (error code)?
- LeetCode——Add Binary
- Neural structured learning - Part 3: training with synthesized graphs
- Golang code checking tool
- (4)UART應用設計及仿真驗證2 —— TX模塊設計(無狀態機)
- 保研笔记一 软件工程与计算卷二(1-7章)
猜你喜欢

GFS Distributed File System

Creative mode 1 - single case mode

Spire. PDF for NET 8.7.2

Rasa 3. X learning series -rasa x Community Edition (Free Edition) changes

Spire Office 7.5.4 for NET

STM32__ 06 - single channel ADC

【LeetCode】5. Valid palindrome
![[classical control theory] summary of automatic control experiment](/img/22/9c9e107da7e305ce0a57d55b4d0b5a.png)
[classical control theory] summary of automatic control experiment

进击的技术er——自动化

The PNG image is normal when LabVIEW is opened, and the full black image is obtained when Photoshop is opened
随机推荐
YML configuration, binding and injection, verification, unit of bean
Switching power supply buck circuit CCM and DCM working mode
White hat talks about web security after reading 2
idea 连接mysql ,直接贴配置文件的url 比较方便
Difference between out of band and in band
保研笔记二 软件工程与计算卷二(13-16章)
带外和带内的区别
Solution to the packaging problem of asyncsocket long connecting rod
开源crm客户关系统管理系统源码,免费分享
Xinyuan & Lichuang EDA training camp - brushless motor drive
Rasa 3.x 学习系列-Rasa X 社区版(免费版) 更改
芯源&立创EDA训练营——无刷电机驱动
orgchart. JS organization chart, presenting structural data in an elegant way
Russian Foreign Ministry: Japan and South Korea's participation in the NATO summit affects security and stability in Asia
GFS分布式文件系统
Research notes I software engineering and calculation volume II (Chapter 1-7)
How to enable relationship view in phpMyAdmin - how to enable relationship view in phpMyAdmin
Creative mode 1 - single case mode
CIS benchmark tool Kube bench
golang代码检查工具