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

前端 未结 4 2021
野性不改
野性不改 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:38

    I know this is quite an old question. I was stuck with this for the last 3 days (google search results didn't help) I'm using Squirrel 3.4 and had to connect to a old DB2 database. I could connect to the DB but could not see the tables for 3 days. Finally got it, here is what worked for me -

    1. Edit Alias Properties -> click properties - select the radio button "Specify schema loading and caching" -> click on "Connect database and refresh Schema table".
    2. Once you do this all the schema's are loaded in the pop up window.
    3. Select the ones you need and change the option to 'Load and cache'. Reconnect to this session.
    4. Select the schema name from the catalog drop down and refresh

提交回复
热议问题