PostgreSQL has a COPY TO command ( http://www.postgresql.org/docs/8.1/static/sql-copy.html ), which outputs query results in CSV format.
It would be neat if I could execute the command using ns_db dml rather than parsing in TCL. COPY TO writes the result to STDOUT (or a file, but I'd like to not use a file). Any help? I've been going through the ns_db source, but I dead-end at NsDbGetDriver(); Thanks, Matt Haggard -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.