數據量小的時候
數據量大的時候
alter table GR_BarcodeNew alter column id int not null alter table GR_BarcodeNew add constraint pkid primary key (id)
幾千條記錄左右,可以直接使用表的設計工具進行.
出現問題需要將下面的這個勾勾去掉就可以.
如果數據量超過幾萬,就必須使用SQL 語句進行,避免超時
alter table GR_BarcodeNew alter column id int not null alter table GR_BarcodeNew add constraint pkid primary key (id)
條款24 ----》條款24:若所有參數皆需類型轉換,請爲此採用non-member函數 **
12315 https://www.12315.cn/cuser/ 互聯網信息服務投訴平臺 https://ts.isc.org.cn/#/login