![](/img/trans.png)
[英]Invalid utf8 character string when importing csv file into MySQL database
[英]Getting invalid character string format for type integer when using embedded database
我正在使用德比數據庫。 我用列創建了我的表
Varchar varchar Integer Integer
MealID MealName Price Quantity
更新字符串時一切正常,但即使我將其從字符串轉換為 integer,我也無法更新數量和價格。
請幫忙..! 圖片說明一切..在此處輸入圖片描述
你說mealId是varchar,但你可以設置Integer,我看不到你的代碼s2引用,你能嘗試將s2變量Integer解析為字符串嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.