放到一起执行一下就可以了甚至可以:
delete A where colx = 0.0 update from A where col1 = "..." insert B select * from A where ...

解决方案 »

  1.   

    “连续执行”指的是什么?
    放到一个事务里,是否能满足你的要求:
    begin transaction
    -- sql 1:
    delete from A
    where colx = 0.0;--sql 2:
    update from A
    where col1 = "..."--sql 3:
    insert into B
    select *
    from A
    where ...commit
      

  2.   

    你说的是事务处理吧,不然 pengdali(大力 V3.0) 一样都可以的。
      

  3.   

    写到一个存储过程里:
    create proc [sp name]
    as
    sql 1:
    delete from A
    where colx = 0.0;sql 2:
    update from A
    where col1 = "..."sql 3:
    insert into B
    select *
    from A
    where ...
    end
    go