一、介紹
DbVisualizer是一個完全基於JDBC的跨平台數據庫管理工具,內置SQL語句編輯器(支持語法高亮),凡是具有JDBC數據庫接口的數據庫都可以管理,已經在Oracle, Sybase, DB2, Informix, MySQL, InstantDB, Cloudcape, HyperSonic ,Mimer SQL上通過測試。
二、安裝
可以參考博客:
https://jingyan.baidu.com/article/86fae346c159163c48121a41.html
官方文檔:
http://confluence.dbvis.com/display/UG120/Users+Guide
三、基本使用
一、創建一個connection
- 1、點擊Database->Create Database Connection —> click Use Wizar
- 2、輸入連接名

- 3、選擇一個已經安裝的JDBC驅動

- 4、輸入數據庫的用戶和密碼

- 5、點擊Ping Server接通點擊finish即可
二、創建一張表
-
1、找到要創建表的數據庫,右鍵點擊選擇create table
-
2、添加表的基本字段及其屬性

- 3、點擊執行成功創建表了
三、查看表
- 1、雙擊表名

| Info | Brief information about the table. |
|---|---|
| Columns | Information about all table columns, e.g. data types and sizes. |
| Data | Then table data. Here you can view and edit the data. |
| Row Count | The number of rows in the table. |
| Primary Key | Information about the table's primary key columns, if any. |
| Indexes | Information about the table's indexes, if any. |
| Grants | Information about granted privileges for the table. |
| DDL | Shows the CREATE statement for the table. |
| References | Shows declared primary/foreign key relationships to other tables. Please read more in Viewing Table Relationships. |
| Navigator | Navigate through the declared relationships. Please read more in Navigating Table Relationships. |
四、執行sql語句
-
1、打開一個sql 的命令窗口
SQL Commander->New SQL Commander or by clicking the New SQL Commander -
2、執行sql

