Corrected a lot of fugly formatting issues: line-breaks mid statement, tabs and extra spacing before, after, and smack in middle of statements. Not talking about blank lines between sql statements. This looked more like somebody was copying and pasting in and out of notepad with the word wrap on. Thats a paddlin. Also, lowercase "insert".