From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | uuZZuuZZ <obsfucate(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: win cmd line query tool |
Date: | 2006-02-21 14:43:00 |
Message-ID: | 20060221144300.GH24481@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)svana(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Caduto | 2006-02-21 14:52:59 | Re: win cmd line query tool |
Previous Message | uuZZuuZZ (sent by Nabble.com) | 2006-02-21 14:39:13 | win cmd line query tool |