:global
:global
正排序
反排序
不排序
PROCEDURE sort_asc(blockname varchar) IS
BEGIN
set_block_property(blockname
go_block(blockname);
execute_query;
go_record(:global
go_item(:global
END;
PROCEDURE sort_desc(blockname varchar) IS
BEGIN
set_block_property(blockname
go_block(blockname);
execute_query;
go_record(:global
go_item(:global
END;
PROCEDURE sort_no(blockname varchar) IS
BEGIN
set_block_property(blockname
go_block(blockname);
execute_query;
go_record(:global
go_item(:global
END;
From:http://tw.wingwit.com/Article/program/Oracle/201311/17670.html