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