Change single quote type in sql statments