你是用什么方法进行数据导入的?

解决方案 »

  1.   

    你可以先建好结构再导入数据呀!
    或导成中间临时表后用语句导到你的真实表里
      

  2.   

    EXEC  master..xp_cmdshell  
    'bcp  test.dbo.temptable in  c:\temp1.txt  -c  -q  -S"servername"  -U"sa"  -P"1234"' insert into yourtable(除自增字段的所有字段) select * from temptabledrop table temptable