估计是不是想新增个字段。是吧。
比如;select * ,identity(int 1,1)id into #temp1 from table1

解决方案 »

  1.   

    An explicit value for the identity column in table 'table1' can only be specified when a column list is used and IDENTITY_INSERT is ON.
    这是什么错呢?
      

  2.   

    select * ,identity(int,1,1)id into #temp1 from table1忘记加,不好意思.
      

  3.   

    是分隔两个取出的字段的。
    比如
    select * ,count(*) as exp1 from table1
      

  4.   

    错误意思:
    无法使用 SELECT INTO 语句向表 '#temp1' 中添加标识列,该表中已有继承了标识属性的列 
    说明你表中已有identity标识属性的列