Oracle 统计表记录数

select
to_number(
extractvalue(
xmltype(
dbms_xmlgen.getxml('select count(*) c from shipment')
)
,'/ROWSET/ROW/C')) count
from dual;

posted @ 2016-06-17 14:45  平安奕程  阅读(682)  评论(0编辑  收藏  举报