Updating sql variable replacement style. #10