@alohadan: Ich habe es mal für etwas ältere MySQL-Versionen angepasst. Versuch’s doch nochmal.