select * into 新表名 from  旧表名
            order by  字段名 acs

解决方案 »

  1.   

    不过建表还是不用这种方式的好,因为还要有各种约束。MSSQL不支持create table ..as  这种操作
      

  2.   

    select * into 新表名 from  旧表名 order by  字段名
      

  3.   

    先確保select into 可用: --USE master
     --EXEC sp_dboption 'yourDB', 'select into/bulkcopy','TRUE'
      

  4.   

    在delphi中如何把这些SQL语句加进去?(要控件说明控件名)
    注:表是db文件
      

  5.   

    注意select  into 不写日志的
      

  6.   

    大哥:
       select * into 新表名 from  旧表名 order by  字段名 asc
    新表用datebase desktop打开不能显示中文是乱码!而旧表是好的可以显示。