热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

ORACLE中 用Forall与bulk collect快速复制表数据

来源: 作者: 时间:2008-06-19 Tag: 点击:


  4相关附助SQL:

  select 'type TYPE_' || column_name || ' is table of ' || table_name || '.' ||

  column_name || '%type'

  from dba_tab_columns

  where table_name = 'EMPLOYEES'

  and owner = 'HYF'

  select 'V_' || column_name || ' TYPE_' || column_name ||';'

  from dba_tab_columns

  where table_name = 'EMPLOYEES'

  and owner = 'HYF'

  select 'V_' || column_name || ','

  from dba_tab_columns

  where table_name = 'EMPLOYEES'

  and owner = 'HYF'

  select 'V_' || column_name || '(i),'

  from dba_tab_columns

  where table_name = 'EMPLOYEES'

  and owner = 'HYF'
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册