insert into b(v1,v2,....) select v1,c2,.... from a where ....

解决方案 »

  1.   

    呵呵,用INSERT INTO 语句就可以了啊!先构建B表,然后用语句实现
    你具体写出A表内容和需要倒出的条件。
      

  2.   

    insert into b_table select * from a_table where sql_clause,条件是两个表一样,如果不一样,就用milchcow的方法,写清楚字段。
      

  3.   

    不需要用游标的, milchcow() 的方法是寻的,如果要转换成B表的数据结构 ,可在select中用转换
      

  4.   

    能不能这样:
    create table tableB as (select * from tableA where 条件);
      

  5.   

    select 字段... from 表A into 表B where 条件
    就可以了