From 6e93a67395dcc7910d763ab25958f9d810ac6180 Mon Sep 17 00:00:00 2001 From: ForeverSmiYng Date: Tue, 5 Aug 2025 14:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Oracle自定义函数.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Oracle自定义函数.sql b/Oracle自定义函数.sql index 546a346..6a777fa 100644 --- a/Oracle自定义函数.sql +++ b/Oracle自定义函数.sql @@ -9,7 +9,8 @@ WHERE ORDER BY line; --- 定义函数 +-- 自定义函数 +-- 函数说明:入参书编号及数字位数,返回可排序编号,如入参为'ZW1-12-123'和4,则返回'ZW0001-0012-0123',第二个参数可不填,默认为4。 FUNCTION hos_get_sortable_ref( bh IN VARCHAR2, len IN NUMBER DEFAULT 4