I use Squirrel SQL to connect to a JavaDB/Derby database on my desktop. I can run SQL queries.
But how can I list all tables in the database? And preferably all column a
We had this issue using SQuirreL SQL Client with Amazon Redshift PostgreSQL.
A short-term solution just was to use:
SELECT * FROM information_schema.columns
RJ.'s solution worked for some machines (thanks) and not others
In the end we realized it was a driver issue. We needed postgresql-8.4-...jar from http://jdbc.postgresql.org/download.html#others