Fix bogus trailing dot char in SQL syntax.