I agree, Feherke. I have a shell script that does this already, but unfortunately have only SQL access to the server in question.
Oh, well. This will force me to develop my SQL skills.
Okay, I've got the list of tables that need updates. What looping structure works best? As I'm switching from Oracle and MS SQL Server, the looping part seems foreign.
Using MySQL 5.0 and only SQL, what's a way to run a SQL command on all tables of a database?
The command would be something like: delete userID from tblUser where userID = 'abcd1234';
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.