开发者

How to update a phone number and address in a user data base

How can I update a phone number or address from a previous one in a user database? So I would start with a phone number and address already, but I need to im开发者_运维技巧plement a "Update Address" and "Update Number". How would I do this?


I'm assuming this is for SQL? If it is, you can use the UPDATE statement:

UPDATE table_name
SET phone_number=new_phone_number, address=new_address
WHERE user_id=the_user_id_of_the_person_you_want_to_change
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜