public static long exportCSV(final File out, final Connection conn, final String querySQL, final long offset, final long count, final boolean writeTitle,
            final boolean quoted) throws UncheckedSQLException, UncheckedIOException {
        return exportCSV(out, conn, querySQL, null, offset, count, writeTitle, quoted);
    }
public static long exportCSV ( final File out , final Connection conn , final String querySQL , final long offset , final long count , final boolean writeTitle , final boolean quoted ) throws UncheckedSQLException , UncheckedIOException { return exportCSV ( out , conn , querySQL , null , offset , count , writeTitle , quoted ) ; }
Exports the data from database to CVS.

@param out
@param conn
@param querySQL
@param offset
@param count
@param writeTitle
@param quoted
@return