2013年1月22日 星期二

Could not update a row in the table.

利用datatable讀取及異動資料.
結果exception message為
ERROR [HY000] [Informix][Informix ODBC Driver][Informix]Could not update a row in the table.

錯在哪一筆也看不出來?
是資料被lock?

查了半天毫無頭緒.

最後只好一筆一筆loop逐筆檢查看是哪一筆寫不進去

結果這個錯誤緣自於unique index duplicate 造成的.

昏+暈....................................

VS CODE離線安裝套件方式-續

去年 vscode離線安裝 powershell nupkg 今年在一台無外網的 windwos 2025上安裝時遇到了powershell版本一直讀取到了5.1的版本,鬼打牆了一下午,在VM還原重測測了好幾回,應該是可行了。 將下載到的免安裝powershell 解壓縮到...