pazan777: Bestimmte einträge in allen Tabellen suchen und löschen

Beitrag lesen

Danke für Antwort,
aber leider ich musste trotztdem alle tabellen per hand duchgehen.
Weil:
DELETE FROM tabelle1, tabelle2 WHERE UserID IN (12386,23744,94493);

hat nicht funkt:

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where uid in (12386,23744,94493);' at line 1

es hat NUR so funk:
DELETE FROM tabelle1 WHERE UserID IN (12386,23744,94493);

deshalb musste ich alle tabellen durchlaufen.

Gruss,
Dimitrij