开发者

mysql syntax to update record

开发者 https://www.devze.com 2023-02-13 07:10 出处:网络
What i开发者_开发问答s the mysql query syntax to update an existing recordShould be the same as other SQL syntax, no?

What i开发者_开发问答s the mysql query syntax to update an existing record


Should be the same as other SQL syntax, no?

UPDATE TableName SET FieldName = Value WHERE Id = AnotherValue

And where does C# code come into this? Exactly how are you accessing the database?


It is all right here: http://dev.mysql.com/doc/refman/5.0/en/update.html.
Just wondering why you didn't google your question first.

0

精彩评论

暂无评论...
验证码 换一张
取 消