Jump to content

How to update partial table ?


emorr1981

Recommended Posts

Hi there,

 

you can specify the field name that you want to update in your update statement. Something like this:

 

UPDATE `table_name` SET name     = 'Your new name value',
                                     address  = 'Your new address value'
WHERE
          user_id = 'user id'

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.