On Tue, Feb 21, 2006 at 06:39:13AM -0800, uuZZuuZZ (sent by Nabble.com) wrote:
>
> I need a windows command line tool that will allow me to retrieve a row from
> a postgresql database (using odbc I would guess). I know osql won't work
> since it is geared to mssql. I tried dbisql from sybase but I don't need to
> install a CD to do this. I need something with a small foot print. Can I use
> telnet ?? Any tips would be appreciated. I'll buy something if needed, but I
> need cmd line so I can parse the output from the select.
> Thanks
What's wrong with psql?
psql -c "select * from blah where x = 44"
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.