Formatting on the SQL strings