surround SQL literal macros by spaces

to avoid errors like the one fixed in 5cb94c7