lightdb22.3-oracle 内置包兼容增强
Posted 紫无之紫
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lightdb22.3-oracle 内置包兼容增强相关的知识,希望对你有一定的参考价值。
lightdb22.3-oracle 内置包兼容增强
下面对新增的内置包和完善的内置包进行梳理记录
新增内置包
dbms_metadata
- get_ddl 获取对象的创建语句
dbms_job
对job(lt_cron) 进行操作, 支持的操作如下:
- submit 新建job
- remove 删除
- change 修改job
- interval 修改job 执行间隔
- user_export 导出创建语句
- what 修改job 执行内容
dbms_lock
- sleep 同pg_sleep
dbms_obfuscation_toolkit
- md5(text)
utl_url
- escape
- unescape
utl_encode
-
base64_encode(raw)
-
base64_decode(raw)
-
text_encode(text,text,int4)
-
text_decode(text,text,int4)
-
quoted_printable_encode(raw)
-
quoted_printable_decode(raw)
-
mimeheader_encode(text,text,int4)
-
mimeheader_decode(text)
-
uuencode(raw,int1,text,text)
-
uudecode(raw)
utl_raw
-
cast_to_varchar2
-
cast_to_raw(text)
-
concat(raw,raw,raw,raw,raw,raw,raw,raw,raw,raw,raw,raw)
-
length(raw)
-
substr(raw,int4,int4)
-
transliterate(raw,raw,raw,raw) 转换匹配的raw
-
translate(raw,raw,raw) 转换匹配的raw
-
copies(raw,int8)
-
overlay(raw,raw,int4,int4,raw)
-
xrange(start raw,end raw) 获取由start~end 组成的raw string
-
reverse(raw)
-
compare(raw,raw,raw)
-
convert(raw,text,text)
-
bit_and(raw,raw)
-
bit_or(raw,raw)
-
bit_xor(raw,raw)
-
bit_complement(raw)
-
cast_to_number(raw)
-
cast_from_number(numeric)
-
cast_to_binary_integer(raw,int)
-
cast_from_binary_integer(int4,int)
dbms_snapshot
- refresh 刷新物化视图
完善内置包
dbms_application_info
获取application info
- read_client_info
- read_module
- set_module
- set_client_info 已支持
dbms_utility
- canonicalize 规范化
- comma_to_table 切分
- table_to_comma 组合
- db_version 数据库版本
- exec_ddl_statement
- GET_HASH_VALUE 已支持
- FORMAT_CALL_STACK 已支持
dbms_lob
-
getlength(blob)
-
open(blob,int)
-
open(clob,int)
-
freetemporary(blob)
-
freetemporary(clob)
-
substr(blob,int4,int4)
-
instr(blob,raw,int4,int4)
-
createtemporary(blob,bool,int4)
-
createtemporary(clob,bool,int4)
-
close(blob)
-
close(clob)
-
append(blob,blob)
-
append(clob,clob)
-
compare(blob,blob,int4,int4,int4)
-
compare(clob,clob,int4,int4,int4)
-
copy(blob,blob,int4,int4,int4)
-
copy(clob,clob,int4,int4,int4)
-
erase(blob,int4,int4)
-
erase(clob,int4,int4)
-
read(blob,int4,int4,raw)
-
read(clob,int4,int4,text)
-
trim(blob,int4)
-
trim(clob,int4)
-
write(blob,int4,int4,raw)
-
write(clob,int4,int4,text)
-
writeappend(blob,int4,raw)
-
writeappend(clob,int4,text)
以上是关于lightdb22.3-oracle 内置包兼容增强的主要内容,如果未能解决你的问题,请参考以下文章
lightdb22.3特性预览-增强对oracle内置函数的兼容