PowerBuilder讀取Oracle 的Clob字段內容
create or replace function getclob(
table_name in varchar
field_name in varchar
v_tj in varchar
v_pos in number –字符起始位置)
return varchar
buffer varchar
lobloc clob;
amount number :=
query_str varchar
begin
query_str :=
EXECUTE IMMEDIATE query_str INTO lobloc ;
dbms_lob
return buffer;
exception
when no_data_found then
return buffer;
end;
String ls_temp
ls_temp =
SELECT dbms_lob
Long i
i =
DO
//調用ORACLE的函數GetClob
SELECT getclob(
ls_data
ll_len = ll_len
i = i +
LOOP WHILE ll_len >=
注
簡單吧
編輯推薦
ASP
Microsoft
From:http://tw.wingwit.com/Article/program/PB/201311/24594.html