dbgrid中显示的数据为query中查询所得的数据行,怎样保存到一个新的数据表中?
在query中用sekect * into newtabke from tablename where...order by ...好象不行呀!!

解决方案 »

  1.   

    我的办法是:给一个循环,然后逐条将记录输入到newtable中………………
    笨是笨了点,不过有效!
      

  2.   

    你输错命令了,应该是
    select * into newtabke from tablename where...order by ...
    快点给分吧
      

  3.   

    那是我打错了,我的代码是
    select * into newtabke from tablename where...order by ...
      

  4.   

    select * into newtable from (select * from tablename where..) a
      

  5.   

    select * into newtabke from tablename where...order by ...
    up