Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の出力を取得するとPeople、というテーブルがありますdescribe People
People
describe People
| Name | varchar(50) | YES | | NULL |
私のsqlupdateステートメント:
update Person set Name='xxx' AND Age= '33' ;
エラー :
ERROR 1292 (22007): Truncated incorrect DOUBLE value: 'xxx'
何をしたいかによります。あなたのテーブルのすべてのために設定ageしてくださいname
age
name
update Person set Name='xxx', Age= '33'
またはdonameですべてに設定age=33
age=33
update Person set Name='xxx' WHERE Age= '33'
以下のクエリを使用
update People set Name='xxx' , Age= '33' where condition;
update People set Name='xxx' , Age= '33' where condition