sqt
(sql query tool) is a cross-platform program to provide typical sql data source exploring and programming interface.
The subject was aimed to provide fast and convenient MS SQL query tool under linux. The only existing ODBC interface lead to support of any other ODBC data source. As a result of pgAdmin3 deprecation sqt
was modified to have a native PostgreSQL support via libpq. Due to my current needs PostgreSQL support is in priority.
The main target audience are db programmers.
Standalone sqt for windows x64 (~12Mb)
- Customizable objects tree and textual/tabular content view (see scripts/README.md) let you build you own tree with application-specific nodes;
- adjustable sql highlighting (see any existing
hl.conf
for more details); - alternative sorting (e.g., sort table columns in original/alphabetical order);
- multiple selection to generate appropriate SQL code (e.g., select/insert/update commands with selected columns only);
- convenient (Qt Creator-like) search/replace panel;
- multiple resultsets support;
- bookmarks (mark:
Ctrl+M
, previous:Ctrl+,
, next:Ctrl+.
, last:Ctrl+L
); - code completion support (
Ctrl+Space
); - json viewer with highlighting and extracting json from it's nested text value (
Ctrl+J
); - totalling selected cells (
F6
); - customizable time charts to display current or recorded statistics;
- resultsets structure textual output;
- pg: client-side COPY to file or log widget, COPY from file;
- pg: receiving notifications (
NOTIFY
) and messages (RAISE
).
You may build the project by means of QtCreator or execute this sequence of commands from the project's root directory:
mkdir build && cd build && qmake ../src/sqt.pro && make
Qt toolchain must be installed and be available via PATH.
- Improve code completion, prepare scripts to fetch metadata from non-postgresql data sources;
- executing of JavaScript along with SQL to run automation tasks;
- new script types to extend objects tree interaction (modifying, administration tasks);
- enhance scripts to make
sqt
as useful as possible (+provide scripts for different dbms, versions, generic odbc data source); - batch mode;
- reports.
Some icons by Yusuke Kamiyamane. All rights reserved.