Skip to content

Commit 4726cc0

Browse files
committed
docs: streamline UTL_ENCODE usage guide
1 parent 15ca271 commit 4726cc0

2 files changed

Lines changed: 0 additions & 50 deletions

File tree

CN/modules/ROOT/pages/master/oracle_compatibility/utl_encode.adoc

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,6 @@
77

88
`UTL_ENCODE` 是 IvorySQL Oracle 兼容模式下的内置包,提供与 Oracle 数据库行为一致的 Base64 编解码功能。它支持将任意二进制数据(`RAW` 类型)转换为可打印的 Base64 ASCII 字节序列,也可以将 Base64 字节序列还原为原始二进制数据。
99

10-
[NOTE]
11-
====
12-
适用版本:IvorySQL(Oracle 兼容模式)
13-
14-
所属扩展:`ivorysql_ora`
15-
16-
包名:`utl_encode`
17-
====
18-
19-
== 前置条件
20-
21-
. 数据库已安装 `ivorysql_ora` 扩展:
22-
23-
[source,sql]
24-
----
25-
CREATE EXTENSION IF NOT EXISTS ivorysql_ora;
26-
----
27-
28-
. 当前会话处于 Oracle 兼容模式(连接 Oracle 监听端口,或显式设置):
29-
30-
[source,sql]
31-
----
32-
SET ivorysql.compatible_mode = oracle;
33-
----
34-
3510
== 函数参考
3611

3712
=== BASE64_ENCODE

EN/modules/ROOT/pages/master/oracle_compatibility/utl_encode.adoc

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,6 @@
77

88
`UTL_ENCODE` is a built-in package available in IvorySQL's Oracle-compatible mode. It provides Base64 encoding and decoding compatible with Oracle Database. The package converts arbitrary binary data (`RAW`) to printable Base64 ASCII bytes and converts Base64 bytes back to their original binary form.
99

10-
[NOTE]
11-
====
12-
Applicable version: IvorySQL in Oracle-compatible mode
13-
14-
Extension: `ivorysql_ora`
15-
16-
Package: `utl_encode`
17-
====
18-
19-
== Prerequisites
20-
21-
. Install the `ivorysql_ora` extension in the database:
22-
23-
[source,sql]
24-
----
25-
CREATE EXTENSION IF NOT EXISTS ivorysql_ora;
26-
----
27-
28-
. Use Oracle-compatible mode by connecting through the Oracle listener port or setting the mode explicitly:
29-
30-
[source,sql]
31-
----
32-
SET ivorysql.compatible_mode = oracle;
33-
----
34-
3510
== Function reference
3611

3712
=== BASE64_ENCODE

0 commit comments

Comments
 (0)