select *,identity(1,1) id into abc from receive频繁的新建、删除会增加数据库负担,多大影响视数据量大小而定

解决方案 »

  1.   

    select * into abc from receive
    需要创建表abc的时候,自动添加identity列
    答復:select identity(int,1,1) as id,* into abc from receive还有abc表只是用一次,应该马上drop,
    频繁的新建、删除会对数据库的性能产生多大影响?
    答復:主要是receive表中的数据量的大小影響數據庫的性能,刪除的次数也有一定的影響.
      

  2.   

    这样!
    select id=identity(int,1,1),* into abc from receive
    会的啊!频繁的新建、删除当然会对性能的影响的!
    适当就可以了!