> 
> Does anyone knows how do you send query output to a file???

Welcome to Unix(TM):

psql <database> -c "select * from <table name>, etc." > <file name>

See also:

http://www.isu.edu/departments/comcom/unix/workshop/io.html

or, type "unix tutorial" in any web search engine.

--Gene

> I tried following but it does not work:
> select * from <table name> \o <file name> ;
> 
> Please let me know if anyone knows!! Thanks in advance
> 
> Neeraj
> [EMAIL PROTECTED]

Reply via email to