Search

'count(*)'에 해당되는 글 1건

  1. 2011/12/12 [ORACLE] 전체 테이블당 건수 조회
select
 table_name,
 to_number(
 extractvalue(
 xmltype(
 dbms_xmlgen.getxml('select count(*) c from '||table_name))
 ,'/ROWSET/ROW/C')) count
 from user_tables;
크리에이티브 커먼즈 라이선스
Creative Commons License