티스토리 뷰

SQL> select 'drop table '||table_name||';' from user_tables where table_name like '%테이블이름 패턴%';


위 쿼리문을 수행하면 결과값으로 테이블 삭제 쿼리문을 얻을 수 있다.

댓글