Posts: 879
Threads: 90
Joined: Jan 2011
Reputation:
0
Hello, I was just wondering if there is a quick and easy way to remove all non rp names from the mysql database?
For example, delete everyone who hasnt a "_" in their name
Posts: 400
Threads: 11
Joined: Jul 2011
Reputation:
0
If you are doing it with phpMyAdmin then execute this query:
SELECT * FROM tblName WHERE tblName.NameField NOT LIKE '%_%';
Posts: 400
Threads: 11
Joined: Jul 2011
Reputation:
0
Take a backup first, dude.
Posts: 879
Threads: 90
Joined: Jan 2011
Reputation:
0
I wont try it on the main database ofc :P
Posts: 879
Threads: 90
Joined: Jan 2011
Reputation:
0
I tried both of yours. They both returned 0
Posts: 400
Threads: 11
Joined: Jul 2011
Reputation:
0
Did you change the query to match your table name and username etc?