开发者

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

开发者 https://www.devze.com 2023-02-18 21:37 出处:网络
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\"

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

精彩评论

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