You've done all the work for me. Well, much appreciated, I'll take this in consideration next time. BTW never heard about sql codestyle for TrinityCore.
Funny, I have received many complaints about codestyle, that makes me wonder if anyone actually tested the code.