1. 程式人生 > >sql 導入excel 遇到問題

sql 導入excel 遇到問題

div 去掉 span log 註意 mar 導入excel gpo ima

 ALTER  TABLE tab1 add  id  int  identity  primary  key   (註意:必須加identity,否則添加會失敗)   //導入excel時候  先把主鍵去掉 變為可為空,之後導入數據, 之後在額外添加主鍵
 alter table tab1 drop column aaa;  刪除列

sql 導入excel 遇到問題