Changed all of the heredoc from <<<SQL to <<<EOT

Linux apparently has an issue with using SQL as the start of the heredoc.  SQL
may be a reserved word.