mysql - Delete all records in the usermeta wordpress table except for specific ID's -


i using gravity forms add on "user registration". adds meta data fields users. on time , guess changes have been made has created more meta data needed.

there fields "mail-a", "mail-a", , "mail_a". want start on , rid of metadata not want erase 2 of users (id's).

what put in query field in phpmyadmin accoplish wordpress table wp_usermeta?

depending if have database access perform queries execute following query:

delete user_table id not in (1,2,3) 

replace name of table correspond table delete records. , replace 1,2 , 3 actual id's want keep.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -