Fixed bug in trigger

The trigger was not working properly. Altered the trigger string so its all in text block rather than split up. Minor updates to formatting to make things more consistent.
Merge pull request #4 from EliSnow/master

Update update_partitions_no_unknown_table.sql