开发者

mysql syntax to update record

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜