Using m4 to Quickly Produce SQL