2011年2月21日月曜日

シェルスクリプト:postgresqlのSQL実行

/usr/local/pgsql/bin/psql -h localhost -U user test_db
SELECT * FROM test_table;
_EOF

0 件のコメント: