Fix bogus trailing dot char in SQL syntax.

(cherry picked from commit b611ee639c94af69b2ef4acea88ffa383861a6dd)