How can I list all tables in a database with Squirrel SQL?

前端 未结 4 2034
野性不改
野性不改 2021-02-07 05:21

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

4条回答
  •  一整个雨季
    2021-02-07 05:32

    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

提交回复
热议问题