oracle分布式数据库版本,去O路上的历程--开源分布式数据库产品对比(TBase VS AntDB)...
TBase
AntDB
substr
支持
支持
sign
支持
支持
sinh
支持
支持
tanh
支持
支持
cosh
支持
支持
trim
支持
支持
coalesce
支持
支持
extract
支持
支持
greatest
支持
支持
last_day
支持
支持
least
支持
支持
length
支持
支持
lnnvl
支持
支持
max
支持
支持
min
支持
支持
mod
支持
支持
month_between
支持
支持
to_yminterval
支持
支持
nullif
支持
支持
numtodsinterval
支持
支持
numtoyminterval
支持
支持
round_date
支持
支持
to_timestamp
支持
支持
rpad
支持
支持
to_single_byte
支持
支持
sessiontimezone
支持
支持
to_date
Tbase to_date
函数对月份解析有错误;
tbase=# SELECT TO_date('January 15, 2010, 11:00 P.M.','Mon dd, YYYY, HH:MI P.M.') FROM DUAL;
ERROR: invalid value "ar" for "dd"
DETAIL: Value must be an integer.
支持
to_date+to_dsinterval
TBase
计算错误,正确值应该是
2016-01-04 14:20:50
;
postgres=# select to_date('1-3-2016 10:30:00','MM-DD-yyyy hh:mi:ss') + to_dsinterval('1 3:50:50') as ndate from dual;
ndate
---------------------
2016-01-04 03:50:50
(1 row)
支持
soundex
TBase
不支持
soundex
函数;
tbase=# select soundex('moon') from dual;
ERROR: function soundex(unknown) does not exist
LINE 1: select soundex('moon') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
sys_extract_utc
TBase
不支持
sys_extract_utc
函数;
tbase=# SELECT SYS_EXTRACT_UTC(TIMESTAMP '2012-04-19 17:30:00 +08:00 ') "CURRENT UTC TIME" FROM DUAL;
ERROR: function sys_extract_utc(timestamp without time zone) does not exist
LINE 1: SELECT SYS_EXTRACT_UTC(TIMESTAMP '2012-04-19 17:30:00 +08:00...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
trunc
TBase
对
trunc
函数传参参数类型支持不够,对数值型的支持(正负)不够,数据类型隐式转换不够;
tbase=# select trunc(3.25,'') from dual;
ERROR: invalid input syntax for integer: ""
LINE 1: select trunc(3.25,'') from dual;
^
tbase=# select trunc(100.984,-2.8) from dual;
ERROR: function trunc(numeric, numeric) does not exist
LINE 1: select trunc(100.984,-2.8) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
tbase=# select trunc(100.984,2.8) from dual;
ERROR: function trunc(numeric, numeric) does not exist
LINE 1: select trunc(100.984,2.8) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
add_months
TBase add_months
对传入的参数值转换有错误;
tbase=# select add_months(to_date('2000-2-29','YYYY-MM-DD'),12.1) from dual;
ERROR: function add_months(date, numeric) does not exist
LINE 1: select add_months(to_date('2000-2-29','YYYY-MM-DD'),12.1) fr...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
tbase=# select add_months(to_date('2000-2-29','YYYY-MM-DD'),-12.55) from dual;
ERROR: function add_months(date, numeric) does not exist
LINE 1: select add_months(to_date('2000-2-29','YYYY-MM-DD'),-12.55) ...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
bitand
Tbase
不支持
bitand
函数;
tbase=# select bitand(1,3) from dual;
ERROR: function bitand(integer, integer) does not exist
LINE 1: select bitand(1,3) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
instr
Tbase
对
instr
函数传参参数类型支持不够,对数值型的支持不够
,数据类型隐式转换不够;
ERROR: function instr(integer, integer) does not exist
LINE 1: select instr(1234,23) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: function instr(numeric, unknown) does not exist
LINE 1: select instr(to_number(123.56),'.') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: function instr(double precision, integer) does not exist
LINE 1: select instr(exp(2),0) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: function instr(double precision, double precision) does not exist
LINE 1: select instr(exp(2),exp(2)) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
lpad
Tbase
对
lpad
函数传参参数类型支持不够,对数值型的支持不够
,数据类型隐式转换不够;
tbase=# select lpad(3.545, 5) from dual;
ERROR: function lpad(numeric, integer) does not exist
LINE 1: select lpad(3.545, 5) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
tbase=# select lpad(4, 5) from dual;
ERROR: function lpad(integer, integer) does not exist
LINE 1: select lpad(4, 5) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nanvl
Tbase
对
nanlvl
函数传参参数类型支持不够,对空值的支持不够;
tbase=# select nanvl('','') from dual;
ERROR: invalid input syntax for type double precision: ""
LINE 1: select nanvl('','') from dual;
^
tbase=# select nanvl('',null) from dual;
ERROR: invalid input syntax for type double precision: ""
LINE 1: select nanvl('',null) from dual;
支持
new_time
Tbase
不支持
new_time
函数;
tbase=# select sysdate bj_time,new_time(sysdate,'PDT','GMT') los_angles from dual;
ERROR: function new_time(timestamp without time zone, unknown, unknown) does not exist
LINE 1: select sysdate bj_time,new_time(sysdate,'PDT','GMT') los_ang...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
next_day
Tbase
对函数
next_day
传参支持数据类型不够,不支持
numeric
隐式转换为
int
;
tbase=# select next_day(sysdate,2.4) from dual;
ERROR: function next_day(timestamp without time zone, numeric) does not exist
LINE 1: select next_day(sysdate,2.4) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
trim
Tbase
对函数
trim
传参数据类型支持不够,不支持数值型隐式转换为字符型;
tbase=# select trim(both 1 from 121) from dual;
ERROR: function pg_catalog.btrim(integer, integer) does not exist
LINE 1: select trim(both 1 from 121) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
translate
Tbase
对函数
translate
传参数据类型支持不够,不支持数值型隐式转换为字符型;
tbase=# SELECT TRANSLATE(121, 12, 3) FROM DUAL;
ERROR: function translate(integer, integer, integer) does not exist
LINE 1: SELECT TRANSLATE(121, 12, 3) FROM DUAL;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
tbase=# SELECT TRANSLATE('999,999.99', '9', 0) FROM DUAL;
ERROR: function translate(unknown, unknown, integer) does not exist
LINE 1: SELECT TRANSLATE('999,999.99', '9', 0) FROM DUAL;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
to_timestamp_tz
Tbase to_timestamp_tz
函数对月份解析有错误;
tbase=# SELECT to_timestamp_tz('January 15, 2010, 11:00 P.M.','Mon dd, YYYY, HH:MI P.M.') FROM DUAL;
ERROR: invalid value "ar" for "dd"
DETAIL: Value must be an integer.
支持
NLS_CHARSET_ID
Tbase
不支持函数
NLS_CHARSET_ID
;
tbase=# SELECT NLS_CHARSET_ID('utf8') FROM DUAL;
ERROR: function nls_charset_id(unknown) does not exist
LINE 1: SELECT NLS_CHARSET_ID('utf8') FROM DUAL;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
NLS_CHARSET_NAME
Tbase
不支持函数
NLS_CHARSET_NAME
;
tbase=# SELECT NLS_CHARSET_NAME(2) FROM DUAL;
ERROR: function nls_charset_name(integer) does not exist
LINE 1: SELECT NLS_CHARSET_NAME(2) FROM DUAL;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nls_initcap
Tbase
不支持函数
nls_initcap
;
tbase=# select nls_initcap('ab cde') from dual;
ERROR: function nls_initcap(unknown) does not exist
LINE 1: select nls_initcap('ab cde') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nls_lower
Tbase
不支持函数
nls_lower
;
tbase=# select nls_lower('AB CDe') from dual;
ERROR: function nls_lower(unknown) does not exist
LINE 1: select nls_lower('AB CDe') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nls_upper
Tbase
不支持函数
nls_upper
;
tbase=# select nls_upper('ab cDe') from dual;
ERROR: function nls_upper(unknown) does not exist
LINE 1: select nls_upper('ab cDe') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nvl
Tbase
对函数
nvl
参数传递数据类型支持不够,不支持数据类型隐式转换;
tbase=# select nvl(1.4,4) from dual;
ERROR: function nvl(numeric, integer) does not exist
LINE 1: select nvl(1.4,4) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
tbase=# select nvl(exp(2),4.8) from dual;
ERROR: function nvl(double precision, numeric) does not exist
LINE 1: select nvl(exp(2),4.8) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
nvl2
Tbase
对函数
nvl2
参数传递数据类型支持不够,不支持数据类型的隐式转换;
tbase=# select nvl2(3,'4.9',5) from dual;
ERROR: invalid input syntax for integer: "4.9"
LINE 1: select nvl2(3,'4.9',5) from dual;
tbase=# select nvl2(4,4.8,5) from dual;
ERROR: function nvl2(integer, numeric, integer) does not exist
LINE 1: select nvl2(4,4.8,5) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
to_timestamp
Tbase to_timestamp
函数对月份解析有错误
tbase=# SELECT TO_timestamp('January 15, 2010, 11:00 P.M.','Mon dd, YYYY, HH:MI P.M.') FROM DUAL;
ERROR: invalid value "ar" for "dd"
DETAIL: Value must be an integer.
支持
regexp_count
Tbase
不支持函数
regexp_count
;
tbase=# select regexp_count('abcdfbc','Bc',1,'i') from dual;
ERROR: function regexp_count(unknown, unknown, integer, unknown) does not exist
LINE 1: select regexp_count('abcdfbc','Bc',1,'i') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
regexp_instr
Tbase
不支持函数
regexp_instr
;
tbase=# SELECT regexp_instr('abc1def', '[[:digit:]]',1,1,1) output from dual;
ERROR: function regexp_instr(unknown, unknown, integer, integer, integer) does not exist
LINE 1: SELECT regexp_instr('abc1def', '[[:digit:]]',1,1,1) output ...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
regexp_like
Tbase
不支持函数
regexp_like
;
tbase=# select * from t4test where regexp_like(name,'345');
ERROR: function regexp_like(character varying, unknown) does not exist
LINE 1: select * from t4test where regexp_like(name,'345');
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
regexp_replace
Tbase
不支持函数
regexp_replace;
tbase=# SELECT regexp_replace('abc1def2', '[[:digit:]]','@',1,2) output from dual;
ERROR: function regexp_replace(unknown, unknown, unknown, integer, integer) does not exist
LINE 1: SELECT regexp_replace('abc1def2', '[[:digit:]]','@',1,2) out...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
remainder
Tbase
不支持函数
remainder;
tbase=# select remainder(7,5) from dual;
ERROR: function remainder(integer, integer) does not exist
LINE 1: select remainder(7,5) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
replace
Tbase
函数
replace
传参数据类型支持不够;
tbase=# select replace('abc', 'a') from dual;
ERROR: function replace(unknown, unknown) does not exist
LINE 1: select replace('abc', 'a') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
round
Tbase
函数
round
传参数据类型支持不够,不支持数据类型隐式转换;
tbase=# select round(100.984,2.8) from dual;
ERROR: function round(numeric, numeric) does not exist
LINE 1: select round(100.984,2.8) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
rpad
Tbase
函数
rpad
传参数据类型支持不够,不支持数据类型隐式转换;
tbase=# select rpad(3.545, 5) from dual;
ERROR: function rpad(numeric, integer) does not exist
LINE 1: select rpad(3.545, 5) from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
to_number
Tbase
函数
to_number
参数传递的格式化选项支持不够;
tbase=# select to_number(89.987,'99.9999') from dual;
ERROR: function to_number(numeric, unknown) does not exist
LINE 1: select to_number(89.987,'99.9999') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
to_char
Tbase
函数
to_char
参数传递的格式化选项支持不够;
tbase=# select to_char(to_char(24.50),'099.999') from dual;
ERROR: function to_char(text, unknown) does not exist
LINE 1: select to_char(to_char(24.50),'099.999') from dual;
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
支持
oracle分布式数据库版本,去O路上的历程--开源分布式数据库产品对比(TBase VS AntDB)...相关推荐
- PG数据库版本查看方法,sql语句查pg数据库版本方法
PG 数据库和 oracle 数据库的查看数据库版本的 sql 语句还不一样. PG 数据库版本查看方法如下: select version() 演示效果图: 喜欢的点个赞❤吧!
- mysql降低数据库版本_三步10分钟搞定数据库版本的降迁 (将后台数据库SQL2008R2降为SQ...
三步10分钟搞定数据库版本的降迁 (将SQL2008R2降为SQL2005版本) 前思后想仍觉得实战数据库版本的降迁一文中的方式不仅老土而且低效,故有了下文三步搞定数据库从MSSQL2008R2 高版 ...
- mysql @@version_查看mysql数据库版本方法总结
当你接手某个mysql数据库管理时,首先你需要查看维护的mysql数据库版本:当开发人员问你mysql数据库版本时,而恰好你又遗忘了,那么此时也需要去查看mysql数据库的版本............ ...
- Oracle电子商务套件版本12.1.3自述文件 (Doc ID 1534411.1)
文档内容 用途 适用范围 详细信息 应用版本更新包 更新后的步骤 包含的修补程序列表 变更记录 文档可访问性 参考 适用于: Oracle Applications DBA - 版 ...
- 怎么看自己电脑MySQL版本_如何查看自己电脑sqlserver数据库版本
如何查看自己电脑sqlserver数据库版本 Microsoft SQL Server 是一个全面的数据库平台,使用集成的商业智能 (BI)工具提供了企业级的数据管理.Microsoft SQL Se ...
- 几种开源NOSQL数据库
几种开源NOSQL数据库 2017年06月30日 23:36:13 lm_y 阅读数 13655更多 分类专栏: java 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载 ...
- android属于数据库管理系统,详细谈谈Android系统中的SQLite数据库的应用
数据库是按照数据结构来组织.存储和管理数据的仓库,而在信息话的社会,数据库又不单单仅限与数据的相关内容,现在数据库技术是管理信息系统.办公自动化系统.决策支持系统等各类信息系统的核心部分,而SQL是结 ...
- VBNET学习笔记---MS VBnet数据库访问技术,概念,介绍,发展历程.
VBNET学习笔记---MS VBnet数据库访问技术,概念,介绍,发展历程. 2013-02-20 1.数据库访问技术 a.JET与DAO JET(Joint Engine Technology)数 ...
- Oracle Goldengate OGG 11g与各操作系统及数据库版本的兼容列表
Oracle Goldengate OGG 11g (11.1.1.0.0)与各操作系统及数据库版本的兼容列表如下,仅供参考: Oracle GoldenGate Certification Matr ...
最新文章
- 微信小程序分享注意点
- tomcat启动出现闪退_(转)Tomcat 启动后 “闪退”
- tomcat启动慢_Hack下mongodb jdbc driver启动慢
- 设计买什么笔记本电脑_大一设计专业新生,买什么牌子笔记本电脑合适?
- android studio import android-source-code
- 统计学、数据分析、机器学习常用数据特征汇总
- cad钣金展开插件_户外垃圾桶顶盖钣金拆分展开方法
- JavaWeb项目实战(3)软件快速下载
- phpstorm设置方法头信息备注
- linux yum 命令 详解
- Flexigrid For Asp.Net-MVC
- 【CodeVs 6128 Lence的方块们】
- 缠中说缠,最好用的缠论画笔和中枢的指标公式 通达信用
- 服装计算机辅助设计论文,计算机辅助高校服装设计论文
- Ubuntu各版本下载安装知网论文阅读神器CAJViewer,并添加快捷图标启动方式
- 【2022 ACTF-wp】
- 使用python+opencv写一个简单的条形码识别代码
- Linux spi驱动框架之执行流程-nuc970-att7022
- 最新PS 2020版发布!逆天黑科技一键P图看哭设计师!
- NEO4J的安装配置及使用总结
热门文章
- 2022双11/双十一天猫喵果总动员/京东穿行寻宝一键完成,自动任务脚本软件,分享源码学习
- Data model - 数据模型
- java 验证码点击刷新_第三讲:验证码点击刷新
- daemon tools lite安装完成后,“无法添加适配器,设备错误12” 解决方法
- vue对接汉王ESP1020E签批屏
- SpringAop动态代理的两种实现方式
- net start mysql命令 显示拒绝访问
- html设置一个连接打开多开页面,selenium多开chrome
- 建设部是否认可计算机软考,呼吁计算机技术与软考中级证书获得建设部的认可-房建监理-筑龙工程监理论坛...
- 战“疫”进行时,企业远程办公指南