当前位置:网站首页>金仓数据库 KingbaseES 与 Oracle 的兼容性说明(4. SQL)
金仓数据库 KingbaseES 与 Oracle 的兼容性说明(4. SQL)
2022-07-28 21:46:00 【沉舟侧畔千帆过_】
4. SQL
序号 | 功能 | KingbaseES | Oracle |
---|---|---|---|
伪列 | |||
1 | 层次查询 | 支持 | 支持 |
2 | 序列 | 支持 | 支持 |
3 | ROWID | 支持 | 支持 |
4 | ROWNUM | 支持 | 支持 |
常量 | |||
1 | CURRENT_CATALOG | 支持 | 支持 |
2 | CURRENT_ROLE | 支持 | 支持 |
3 | CURRENT_SCHEMA | 支持 | 支持 |
4 | CURRENT_USER | 支持 | 支持 |
5 | LOCALTIMESTAMP | 支持 | 支持 |
6 | NULL | 支持 | 支持 |
7 | SESSION_USER | 支持 | 支持 |
8 | SYSDATE | 支持 | 支持 |
9 | USER | 支持 | 支持 |
表达式 | |||
1 | 常见表达式 | 支持 | 支持 |
2 | 复合表达式:(expr)、 {PRIOR}|{+}|{-} expr、 expr {*}|{/}|{+}|{–}|{||} expr、 expr COLLATE collation_name | 支持 | 支持 |
3 | case when | 支持 | 支持 |
4 | 列表达式:表列、常量、函数 | 支持 | 支持 |
5 | cursor(subquery) | 不支持 | 支持 |
6 | 时间日期表达式:expr AT LOCAL、 expr AT TIME ZONE ' +– hh : mi '、 expr AT TIME ZONE、 SESSIONTIMEZONE、 expr AT TIME ZONE 'time_zone_name、 expr AT TIME ZONE expr | 支持 | 支持 |
7 | 自定义类型表达式:type_name (expr[,expr]... ) | 支持 | 支持 |
8 | 行表达式:row_constructor operator | 不支持 | 支持 |
条件比较 | |||
1 | 常见比较表达式:=、!=、^=、<>、>、<、>=、<=、 op ANY、op SOME、op ALL | 支持 | 支持 |
2 | 表达式通过 =、!=、^=、<>这些符号 与表达式列表或子查询比较 | 支持 | 支持 |
3 | 逻辑比较:NOT / AND / OR | 支持 | 支持 |
4 | 模型比较 :IS ANY/PRESENT | 不支持 | 支持 |
5 | 集合比较: IS A SET/EMPTY | 不支持 | 支持 |
6 | 模糊匹配 LIKE | 支持 | 支持 |
7 | [NOT]BETWEEN ... AND | 支持 | 支持 |
8 | EXISTS(subquery) | 支持 | 支持 |
9 | [NOT]IN | 支持 | 支持 |
10 | [NOT]IS OF type | 不支持 | 支持 |
数据对象类型 | |||
1 | 表的创建、修改、删除 | 支持 | 支持 |
2 | 分区表的创建、删除 | 支持 | 支持 |
3 | 分区表的修改(add、drop、rename、truncate、 、exchange) | 不支持 | 支持 |
4 | 表空间的创建、修改、删除 | 支持 | 支持 |
5 | 视图的创建、修改、删除 | 支持 | 支持 |
6 | 视图的不可见(VISIBLE / INVISIBLE) | 不支持 | 支持 |
7 | 自定义函数、存储过程的创建、修改、删除 | 支持 | 支持 |
8 | 包的创建、修改、删除 | 支持 | 支持 |
9 | 索引、全局索引的创建、删除 | 支持 | 支持 |
10 | 索引的重建、重命名 | 支持 | 支持 |
11 | 索引的禁用(ENABLEDISABLE) | 支持 | 支持 |
12 | 索引的不可见(VISIBLE / INVISIBLE) | 不支持 | 支持 |
13 | 物化视图创建、删除、修改(query_rewrite/refresh/compile) | 支持 | 支持 |
14 | 物化视图log的创建、修改、删除 | 不支持 | 支持 |
15 | 触发器的创建、修改、删除 | 支持 | 支持 |
16 | 隐含列的创建、修改 | 支持 | 支持 |
17 | 约束创建、修改、删除 | 支持 | 支持 |
18 | DIRECTORY创建、修改、删除 | 支持 | 支持 |
19 | OPERATOR创建、修改、删除 | 不支持 | 支持 |
20 | DBLink的创建、删除 | 支持 | 支持 |
21 | 同义词的创建、删除 | 支持 | 支持 |
数据对象操作 | |||
1 | 表查询、连接查询、层次查询 | 支持 | 支持 |
2 | dblink远程查询、DML操作同构数据库、DML操作异构数据库-Oracle | 支持 | 支持 |
3 | MERGE表、视图、子查询 | 支持 | 支持 |
4 | INSERT表、视图、子查询 | 支持 | 支持 |
5 | INSERT ALL / FIRST | 支持 | 支持 |
6 | INSERT returning子句 | 支持 | 支持 |
7 | INSERT 子查询 | 支持 | 支持 |
8 | INSERT error_logging子句 | 不支持 | 支持 |
9 | INSERT hint | 不支持 | 支持 |
10 | UPDATE表、视图、子查询 | 支持 | 支持 |
11 | 多列更新 | 支持 | 支持 |
12 | UPDATE表、视图、子查询 | 支持 | 支持 |
13 | DELETE表、视图 | 支持 | 支持 |
14 | DELETE returning子句 | 支持 | 支持 |
15 | DELETE error_logging子句 | 不支持 | 支持 |
16 | DELETE hint | 不支持 | 支持 |
17 | COPY | 支持 | 支持 |
18 | DELETE hint | 不支持 | 支持 |
19 | FLASHBACK数据库 | 不支持 | 支持 |
20 | FLASHBACK表 | 支持 | 支持 |
边栏推荐
- 当初的“你“为什么做测试/开发程序员?自己存在的价值......
- Thesis reading (3) - googlenet of classification
- Several common methods of SQL optimization
- Wechat applet development ④
- There are four ways for Nacos to configure hot updates and multiple ways to read project configuration files, @value, @refreshscope, @nacosconfigurationproperties
- Introduction to original code, inverse code and complement code
- Why did "you" become a test / development programmer? The value of your existence
- Performance optimized APK slimming
- ACM SIGIR 2022 | 美团技术团队精选论文解读
- PCA learning
猜你喜欢
Objc4-841.13 debuggable / compiled source code update
使用这个,你发的消息就无法被监控了
[C language] implementation of three piece chess games
Recurrent neural network (RNN)
Applet Download Preview PDF, document cannot open solution
With the "integration of driving and parking", freytek's high-performance domain controller leads the new track
Wechat applet development ④
c语言进阶篇:指针(三)
What if win11 cannot find the DNS address? Win11 can't find DNS and can't access the web page solution
The front mounted ADAS camera in parking increased by 54.15% year-on-year, with TOP10 suppliers taking the lead
随机推荐
Thesis reading (2) - vggnet of classification
RouterOS 有限dns劫持及check
How to embed AI digital human function in VR panorama? Create a cloud experience
General principles of software quality
Applet Download Preview PDF, document cannot open solution
All aspect visual monitoring of istio microservice governance grid (microservice architecture display, resource monitoring, traffic monitoring, link monitoring)
Object object
Performance optimized APK slimming
Development of small programs ①
Retrofit Usage Summary
Typescript防止基类被实例化
Messages from students participating in the competition: memories of the 17th session
Arduino UNO驱动合宙1.8‘TFT SPI屏幕示例演示(含资料包)
Sqlilabs-1 (breakthrough record)
1314_串口技术_RS232通信基础的信息
Pgbench benchmark PostgreSQL
Runloop principle (II)
22牛客多校day1 J - Serval and Essay 启发式合并
Routeros limited DNS hijacking and check
IOS interview