SELECT A.TABLE_NAME, B.COMMENTS
    FROM ALL_TABLES A, ALL_TAB_COMMENTS B
   WHERE A.TABLE_NAME = B.TABLE_NAME AND A.TABLE_NAME LIKE :table_name || '%'
ORDER BY A.TABLE_NAME
종종 사용하는데 쓸때마다 잊어서 메모해놓자.
Posted by 두억시니 트랙백 0 : 댓글 0