您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

oracle pl/sql 本地打印html报表

2024/2/25 14:12:37发布16次查看
将打印到output的过长一行句子,自动截断成几行,用来打印本地报表: from http://hgworkhouse.org pl/sql 报表打印 oracle procedure my_output(p_text in varchar2) is p_sum_length number := 0; p_length number := 200; p_index number := 1; p_time numb
将打印到output的过长一行句子,自动截断成几行,用来打印本地报表: from http://hgworkhouse.org pl/sql 报表打印 oracle procedure my_output(p_text in varchar2) is p_sum_length number := 0; p_length number := 200; p_index number := 1; p_time number := 0; begin select length(p_text) into p_sum_length from dual; p_time := ceil(p_sum_length / p_length); for i in 1 .. p_time loop dbms_output.put_line(substr(p_text, p_index, p_length)); p_index := p_index + p_length; end loop; end my_output;
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product