li

ning
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

查找所有有某一列的表

Posted on 2010-09-02 14:40  lining  阅读(196)  评论(0)    收藏  举报

select distinct 'delete from ' || table_name || ' where student_id = stu_id;'     
  from user_tab_columns     
  where column_name = 'STUDENT_ID';