create or replace procedure test_forall(CURRENTPAGE number ) as .--CURRENTPAGE number :=2 ; .PAGESIZE ; .type indexType_dial_main_ra is table of his_product_deal_main_ra%rowtype index by pls_integer; .index_dial_main_ra indexType_dial_main_ra ; .curs…
--PLSQL程序编写杂烦数据表信息编写批量排版 SELECT 'cra.' || lower(t.column_name) ||',' FROM dba_tab_columns t WHERE t.table_name = 'CUX_REBATE_APPLY' ORDER BY t.column_id; --结果 cra.apply_id, cra.header_id, cra.line_number, cra.apply_amount, cra.apply_method_code, cra.…