modified multi-line string for sql query