insert maccode
  select * from regcode where machinecode is not null

解决方案 »

  1.   

    insert maccode
    select * from RegCode where MachineCode is not null
      

  2.   

    应该是:insert maccode(RegID,MachineCode,RegCode)
    select RegID,MachineCode,RegCode from RegCode where MachineCode is not null非包含全部属性,一定要列出所插入字段!(SQL Server 中不区分大小写!!)
      

  3.   

    还有3个题,各位再帮帮俺吧
    地址是:
    http://expert.csdn.net/Expert/topic/1980/1980577.xml?temp=.3930323