> It works for me, for example, this way: > athens% psql -d template1 -c "select datname from pg_database" Thanks, I feel a little sheepish at not trying it with quotes around the query, but the manuals don't mention that you have to enclose the query in quotes when you use the -c option. -Christopher Currie
Re: [SQL] Running queries from scripts.
DalTech - Continuing Technical Education Thu, 06 Jul 2000 09:15:31 -0700
- [SQL] Running queries from script... DalTech - Continuing Technical Education
- Re: [SQL] Running queries fr... Margarita Barvinok
- DalTech - Continuing Technical Education