如何使用Squirrel SQL列出数据库中的所有表? [英] How can I list all tables in a database with Squirrel SQL?

查看:479
本文介绍了如何使用Squirrel SQL列出数据库中的所有表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Squirrel SQL连接到台式机上的JavaDB / Derby数据库。我可以运行SQL查询。

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 and column types.

推荐答案

您可以从GUI轻松完成。打开会话后,单击对象选项卡,然后展开树。依次展开db,schema和table节点,您将看到所有表。如果单击特定的表节点,则会在右侧打开一个表。通过单击列选项卡,可以获得列名称,类型和其他元数据。

You can do it easily from the GUI. After you open your session, click the Objects tab, then expand the tree. Expand the db, schema, and then table nodes, and you'll see all of your tables. If you click on a particular table node, a table will open to the right. By clicking the Columns tab, you can get the column names, types, and other meta data.

还是在寻找SQL命令?

Or are you looking for SQL commands?

这篇关于如何使用Squirrel SQL列出数据库中的所有表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆