SQL DBX
SQL DBX
SQL DBX
Overview of SqlDbx
Welcome to SqlDbx
SqlDbx is database administration and SQL development IDE focused on application developers who
work in heterogeneous database environments.
Features at a glance:
High performance native support for major Database Servers including Microsoft, Sybase, Oracle
and IBM DB2/UDB
Advanced script Editor with Syntax highlighting, Auto Complete, Speed Typing, Drag/Drop,
Undo/Redo, Find/Replace
Unicode support
SQL Scripting
Generate SELECT, INSERT, UPDATE, DELETE, WHERE IN data modification statements directly
from result grid
Favorite objects
Simple deployment and removal. No dll's or other dependencies. Just one executable (1.4 meg.)
Oracle 8i - 11g
MySQL 5.x
Kdb+
2. Using SqlDbx
Using SqlDbx
SqlDbx window divided into three views: Object View, Script Editor and Results View
Editor Shortcuts
Grid Shortcuts
SQL Script Editor
Intellisense
Script Variables
SQL Templates
Speed Typing
Visual Diff
Export / Import
Generate Scripts
Server Explorer
Options
Command Line options
Set Alias button can be used to create alternate user friendly name for the Server. Also it is useful when
you connect to the same server using different credentials. "Production" check box allows to specify
alternate text and background colors. This allows to visually differentiate between production and
development Servers. Set Alias button allows to create multiple aliases for the same Server. You can
create it by directly typing into Server combo box. Make sure that actual Server name enclosed between
"(" and ")"
Using SqlDbx
SqlDbx portable
If you wish to use SqlDbx in portable mode create empty SqlDbx.ini file in a same directory where
SqlDbx.exe located. After you start SqlDbx it will run in portable mode.
In this mode SqlDbx will not make any changes to registry or create directories / files on a computer.
New Script
Ctrl + O
Open file
Ctrl + S
Ctrl + Shift + S
Ctrl + W
Ctrl + Shift + W
Cursor Movement
Left
Right
Up
Down
Ctrl + Up
Scroll screen up
Ctrl + Down
Ctrl + Right
Ctrl + Left
End
Ctrl + End
Home
Ctrl + Home
Ctrl + G
Go To Line
Edit
Ctrl + Y
Delete all
Ctrl + Delete
Ctrl + Backspace
Insert
Ctrl + C
Copy to Clipboard
Ctrl + V
Ctrl + Shift + V
Alt + Shift + V
Ctrl + Alt + V
Ctrl + X
Cut to Clipboard
Undo
Shift + Tab
Ctrl + Shift + C
Ctrl + Shift + R
Un comment selection
Ctrl + Shift + U
Ctrl + Shift + L
Ctrl + Shift + M
Ctrl + Shift + Up
Selection
Ctrl + A
Select all
Alt + C
Ctrl + B
Ctrl + Shift + B
Shift +Left
Shift + Right
Shift + Up
Shift + Down
Shift + Home
Shift + End
Shift + Page Up
Ctrl + M
Ctrl + H
F6
Quick Find
F3
Find next
Shift + F3
Find previous
Ctrl + Shift + Q
Ctrl + Shfit + D
Query / SQL
Ctrl + E, F5
Ctrl + Enter
Shift + Enter
Ctrl + F5
Ctrl + K
Ctrl + J
Alt + F1
Alt + F2
Alt + F3
F4
F7
List Tables
F8
F9
F12
Begin Transaction
Ctrl + F12
Commit Transaction
Rollback Transaction
Bookmarks
Ctrl + F2
Toggle bookmark
F2
Go to next bookmark
Shift + F2
Go to previous bookmark
Ctrl + Shift + F2
Miscellaneous
Ctrl + Page Down
Ctrl + Page Up
Ctrl + 1
Ctrl + 2
Ctrl + 3
F11
Ctrl + F11
Shift + F11
Down
Right
Left
Ctrl + Up
Ctrl + Down
Ctrl + Right
Ctrl + Left
End
Ctrl + End
Home
Ctrl + Home
Selection
Left Mouse Button in top left corner
Select all
Shift + Left
Shift + Right
Shift + Home
Shift + End
Shift + Down
Shift + Up
Shift + Page Down
Shift + Page Up
Ctrl + Shift + Up
Clipboard
Ctrl + C
Copy to Clipboard
Ctrl + Shift + C
Ctrl + Alt + C
Group Mode
Left Mouse Double Click
Miscellaneous
Ctrl + Shift + N
Ctrl + Shift + D
* - data region: A range of cells that contains data and is bounded by empty cells
2.5 Intellisense
Using Intellisense
Intellisense is configured in Options dialog on Editor page.
Intellisense and temporary tables in MS Sql Server and Sybase ASE. For intellisense to work with
temporary they have to be created and then "referenced". Referenced means that you have to type
something in Editor to cause the information about them loaded. For example if you created temporary
table named #tmp then just type #tmp. and after that #tmp table will start to show up in Intellisense list
window.
If you drop and recreate temporary table with different definition you have to refresh objects in Object
View in order to reset Intellisense information for temporary tables.
Include Schemas/Databases
Enable Auto Complete For:
Display objects from other Schemas (Oracle, DB2) or other Databases (Sybase
MS)
Enables or disable following options
Keywords
User Objects
System Objects
Capitalize Keywords
Capitalize
Procedures/Functions
value is the value that is to replace every occurrence of the parameter in the script (optional)
Example:
CREATE PROCEDURE <procedure_name>
AS
BEGIN
END <procedure_name>;
Use the Replace Template Parameters dialog box to insert values into the script.
Note You can use the Replace Template Parameters dialog box to specify values any time a
parameter definition is used in code. For example, when you script execute function from Object
View, the function written to the current Script window will contains parameter definitions for any
arguments in the function. You can, therefore, use the Replace Template Parameters dialog box
to specify argument values. Also if you have text selected in Editor and invoke Replace template
Parameters dialog then only selection will be checked for any template parameters
It is possible to specify cursor position in template. Put symbol "^" anywhere in the template text.
To use template
If template manager window is not visible press Manage SQL Templates button on the toolbar
Navigate to desired template and select Insert Template menu item or double click left mouse
button
When the template is displayed in the Script window, select Replace Template Parameters
button on the toolbar
In the Replace Template Parameters dialog box, specify values for the parameters
To insert the specified values into the script in the Editor, click Replace
Examples:
1. Simple replacement. If Shortcut column contains sla and column Substitution Value contains SELECT *
FROM then when you type sla in Script Editor and press space it will be replaced by SELECT * FROM
2. Use Speed typing to add Auto Complete strings. Simply enter desired string into Shortcut column and
leave Substitution column blank
3. Using formal parameters:
If Shortcut column contains
sla (var_date, var_string)
and Substitution column contains
SELECT * FROM TABLE_NAME where date_col = '$(var_date)' and string_col = '$(var_string)'
then when in Script Editor you type:
sla (01/01/07, string_value)
it will be expanded into:
SELECT * FROM TABLE_NAME where date_col = '01/01/07' and string_col = 'string_value'
To specify cursor position in Editor after expansion put symbol '^' anywhere in substitution column text
Export to Excel
Select Export To->Excel menu item from table popup menu to copy all table data to Excel.
You can import table data from Excel by first selecting range in Excel which contains table data with table
column names in the first row. Order of columns is not important. Some column can be omitted too. To
import data from Excel select table into which you want to import data. Right click and select Import
From menu item. Select menu item with Excel session in which you previously selected data. Data from
Excel will appear in a new Script Editor window as a series of INSERT statements. Now you can edit or
execute script to insert data into the table.
2.12 Options
Options
Options Dialog is accessible from toolbar or Main Menu->Tools.
General Options
Editor Options
Colors
Results Options
Scripting Options
Import / Export
Servers
Arguments
-t server_type
Can be one of the following: microsoft, sybase, oracle, ibm, mysql, odbc
-s server_name
-d
database_name
-u user
User name. If -U and -P not supplied try to login using integrated security
-p password
User password
-l
Start new instance of SqlDbx. If -n not specified then pass arguments to the instance started wit
none found then start new instance.
Write debug log to SqlDbx.exe.log file
-q script file
-r
-w workspace file
-n
-c
Command line flags are not case sensitive and space after them is optional
*Command line options are supported only in SqlDbx Professional Edition
Intellisense works better and in more cases when table names use aliases For example:<br>
select *from table_name1 T1, table_name1 T2 where T1.column_name = T2.column_name ...
02
You can enable automatic save / restore of SqlDbx session state by checking Enable Session State check box on Gen
03
Speed typing allows to create aliases for often used SQL blocks. For examples you can add string "sla" as alias for "s
Typing
04
05
If you want to quickly access object properties just click on object it in Editor and press Alt-F1
06
You can directly edit table data in Result Grid for tables with unique constraints
07
08
Results Grid supports sorting and moving columns. Also it supports multiple selections. Hold Ctrl key while selecting m
09
Quickly select SQL block by placing cursor on first character and then press Ctrl+B
10
Quickly export data from table. Execute select * from <table_name>, then select everything in Grid Results by clickin
Generate->Insert from right click menu
11
Filter data in Results Grid by selecting Filter menu item from right click popup menu
12
Replace Template parameters works not only for templates but with any text enclosed in angle brackets "<...>"
13
You can directly execute procedures and functions from Object View
14
You can execute procedures from Editor by righ clicking on procedure name
15
Results of any query operation will be put in a new Result Tab if you hold Shift key while selecting query action
3. Script Editor
Script Editor
SQL Editor window provides broad range of editing capabilities. Look and feel can be configured in
Options Dialog on Editor page. You can drag and drop text between different windows.
To open a new script window press Ctrl + N
SQL Editor Keyboard Shortcuts
Editing Scripts
Executing Scripts
Script Variables
Script Commands
Named script fragments allow quick access to often used portions of script file. To create script fragment
enclose SQL block in special comment section as shown below
--{{ Fragment name
SELECT * FROM TABLE_1
go
SELECT * FROM TABLE_2
--}}
After you select and execute first comment line the combo box will show up on a toolbar and the
"Fragment name" will be added to it
To execute fragment just select it in combo box
Fragments will be loaded automatically when session of script file loaded
Script Fragments can be used to create a user interface to often executed SQL blocks with the help of
script variables. Below is the example of script fragment which asks for parameters
$define empname CHAR
--{{ Find Employee
SELECT * FROM SCOTT.EMP WHERE ENAME = $(empname);
$define empname
--}}
Now every time you execute Find Employee script fragment from the toolbar it will ask you for empname
In addition any script command can be used inside the fragment, for example cmd=format to format
output.
= - optional assignment operator. If present assigns default value and on first reference user will
be asked for value
: - optional operator. If present than user will not be asked for value
CHAR, VARCHAR, DATE, INT, NUMBER - optional variable type. If present helps to correctly
convert var_value to type
Variable names must not have the same form as a variable expression, like $(var)
Predefined Variables
Remarks
Some script commands has to be placed before SQL statement they affect in SQL batch or the only
statement in the batch.
Following commands has to be placed before: results, results_only, result_new, result_current, export
Other command can be placed before or after. They will affect current results in Result Grid.
cmd result_new = customers -- Add a tab with the name customers
select * from customer
or
cmd result_new = customers -- Add a tab with the name customers
go -- database specific batch separator
select * from customer
Export script command applies to the next SQL statement. For example to export result of the query to
excel
cmd export = excel
select * from customer
CMD format
cmd format can be used to format results in Result Grid. format=transpose will transpose current result
set. format=group will enable column grouping and should be followed with group=column_list and
optionally total=column_list. Below is the example of query which uses format script command
SELECT JOB, ENAME, SAL FROM SCOTT.EMP;
cmd format=group; group=job, ename; total=sal
4. Object View
Object View
Object View organizes different database objects in different bars on a left side. To activate bar simply
click on it. Bar title displays type of the object and number of objects of this type in a current Schema /
Database. Filter can be used to limit number of objects displayed in list.
Working with Object View
SELECT *
Script Create
Script Select
Script Update
Script Insert
Script Execute
Execute
Script
Permissions
Drop
Allows to directly edit table data in Results Grid Table has to have PRIMARY KEY
or IDENTITY or UNIQUE KEY
Export Data To
Import Data
From
Add to Favorites
Locate in Script
Locate CREATE statement for selected object in the active Editor window
Object Search
Scripting
Options
Properties
Favorites
Shift + O
Shift + T
System Objects
Shift + V
Tables
Views
Shift + S
Sequences
Shift + P
Procedures
Shift + F
Shift + R
Functions
Triggers
Shift + K
Packages
Shift + N
Synonyms
5. Results View
Working with Results Grid
Results Grid has two or more tabs. First tab displays results of a query either in Grid or in formatted text
form. Last tab displays error and informational messages.
Results Grid can be used to perform different actions on a data returned from a query.
Results Grid has a status bar which displays following information:
Query time
In Display query mode you can execute actions described below in a table. Generate
SELECT/INSERT/DELETE/UPDATE for dates and string uses settings from Import / Export
Result Grid supports two additional modes. You can transpose them by selecting "Transpose" from the
popup menu. Results also can be grouped by any number of columns. To accomplish it select "Group /
Ungroup" from popup menu
Export to Excel
Select Export To->Excel menu item from Result Grid popup menu to copy data to Excel
To export data to specific Excel file you can define Excel export template in Export/Import options.
Excel export template should have form: File_Name,Range_Name (C:\Temp\Book1.xls,R_DATA).
Generate
SELECT
INSERT
UPDATE
DELETE
WHERE IN ()
ORDER BY ()
GROUP BY ()
CREATE TABLE ()
Column Format
Filter
Find in Results
Find in Results
Copy
Copy Special
Copy With Column
Name(s)
Copy Column
Name(s)
Copy Column
Name(s) and Types
Copy as Text
Copy as Delimited
Copy as CSV
Copy as XML
Copy as XML
Copy as HTML
Copy as HTML
Export To
Excel
Excel (smart)
Excel (as
displayed)
SQL Log
Results
New Result Tab
In Grid
In Text
Transpose
Freeze Columns
Notes
Generate feature by default copies generated statement to a current cursor position in Script Editor.
If you hold Ctrl key down when using generate then statement will be copied at the end of current script
6. Options
Options
Options Dialog is accessible from toolbar or Main Menu->Tools.
General Options
Editor Options
Colors
Results Options
Scripting Options
Import / Export
Servers
6.1 General
General Options
Settings on this page control
Results Files
Backup Files
File Browser
Speed Typing
Config Files
Settings
Backup Modified Files
Open Session
connections
File Extensions
File Associations
Language
6.2 Editor
Editor Options
This page contains settings for Script Editor
Outline Margin
Auto Indent
Tab Size
Intellisense
See Intellisense
6.3 Colors
Color Options
This page allows to assign colors to different types of database objects. Also it allows to assign
alternative background and text color for specific connections. Usually it used to differentiate connections
to production and development servers. In order to use alternative colors you have to check "Production"
on a Login dialog.
6.4 Results
Results Options
Results options
Time Format
Max Decimals
Grid Font
Results Location
Grid Colors
Set Focus to Grid After Execute
Multiple Result Tabs
Rows Limit On
6.5 Scripting
Scripting / Log Options
These setting are used when Objects scripted from Object View
Include Results
Log Directory
Date Format
Date format used when exporting to CSV files and it also used when generating SELECT, INSERT,
UPDATE statements
Row delimiter
Field Delimiter
Field delimiter
Literal Quote
Date Quote
Preserve Leading Zeroes - applies to character columns which look like numbers with leading
zeroes 0000032.
If this option not checked than Excel will convert string to number and leading zeroes will be lost.
If this option checked than value will be exported to Excel with number format set to "@" which will
preserve leading zeroes.
Smart Excel export uses this setting regardless of if it checked or not.
Preserve DECIMAL and Preserve BIGINT exports numbers to Excel as values with number
format set to "@".
This preserves number precision and prevents Excel from displaying them in scientific notation.
Excel Export Templates allows to specify excel file for export.
Excel template should be specified in format: file_name,range_name
(C:\Temp\export.xls,R_RESULTS_OUT)
Export templates can be selected from right click menu in Results Grid
6.7 Servers
Servers Options
Server Options pages allow to specify settings for different servers.
Oracle Help
Sybase Help
Microsoft Sql Server Help
IBM DB2 Help
ODBC Help
7. Oracle Help
Oracle Help
Supported versions:
8.1.5
8i
9i
10g - 11g
12c
Oracle How To
Oracle Bind Variables
SQL*Plus support
SqlDbx relies on Oracle client being installed on client computer. SqlDbx dynamically tries to load oci.dll.
If this dll not found then you will encounter error message about client software not being properly
installed. Check that oci.dll is available and PATH environment variable includes path to it.
To connect to Oracle server directly specify Server on Login screen as: HOST:PORT,SERVICE_NAME
You create bind variables with the VARIABLE command. For example
VARIABLE
VARIABLE
VARIABLE
VARIABLE
varName1
varName2
varName3
varName4
VARCHAR2
NUMBER
CLOB
REFCURSOR
You reference bind variables in scripts by typing a colon (:) followed immediately by the name of the
variable. For example
VARIABLE ret_val NUMBER;
BEGIN
:ret_val := 2;
END;
After executing this block you will see output in grid automatically
Using REFCURSOR Bind Variables
REFCURSOR bind variables allow to fetch and display results of a SELECT statement contained in PL/SQL
block or they can be used to reference PL/SQL cursor variables in stored procedures and functions. Also
REFCURSOR bind variable can be returned from a stored procedure.
VARIABLE employee_info REFCURSOR
BEGIN
OPEN :employee_info FOR SELECT EMPNO, SAL FROM SCOTT.EMP;
END;
After executing this block results automatically will be displayed in grid.
Using REFCURSOR Variables in stored procedures
CREATE PROCEDURE EmpReport (emp_ref IN OUT REF CURSOR)
AS
BEGIN
OPEN emp_ref FOR SELECT EMPNO, SAL FROM SCOTT.EMP;
END;
VARIABLE rc REFCURSOR;
BEGIN
EmpReport (:rc);
END;
SqlDbx supports SQL*Plus substitution variables with some minor differences. For details of how to use
substitution variables click here Script Variables
In case of integrated security when you connect to SQL Server do not specify user name and password.
If using SSL encrypted connection please specify Encrypt=yes in Options edit box on Login screen.
9. Sybase Help
Sybase Help
Supported versions
SqlDbx relies on Sybase Open Client installed on local computer. If while trying to connect to Sybase
Server you encounter message stating that database handler cannot be created for this type of Server it
usually means that Sybase Open Client dll ctlib.dll or libsybct.dll cannot be found. SqlDbx always tries to
first load libsybct.dll which is distributed with Open Client version 15 and if it fails then it tries to load
ctlib.dll.
When connecting to Sybase ASE you can specify following additional options in Options edit box:
HOSTNAME = hostname
APPNAME = appname
To connect to Sybase ASE directly without using interface file or LDAP specify server on Login dialog as:
SERVER:PORT
Two different connections types supported for Sybase IQ and Sybase Anywhere: Open client and Sybase
IQ ODBC driver.
Both methods offer same features and functionality.
By default SqlDbx treats value in Server combo box as cataloged database alias.
To connect to un cataloged DB2 databases please follow steps below.
1. Specify Server as HOSTNAME:PORT or HOSTNAME
2. In Options add the name of the database: DATABASE=dbname
3. Specify port if it was not specified in Server combo box.
Example:
Server: db2server
Options: PORT=5023;DATABASE=dbname
* Make sure that option values separated by semicolon ";"
How to check database client software setup in case SqlDbx unable to connect
1. Start command prompt
2. Type db2cmd and press enter
3. Type db2 in a new window
4. Connect to database by issuing following command: CONNECT TO <database_name> USER
<user_name> USING <password>
Below is the example of how to call stored procedure on DB2 z/OS which has input and output
parameters. The below code fragment was generated by selecting "Script Execute..." menu item. Leading
underscore indicates that output parameter value should not be part of returned results.
VARIABLE
VARIABLE
VARIABLE
VARIABLE
VARIABLE
VARIABLE
VARIABLE
VARIABLE
MySQL How To
Before you can connect to MySQL server you will need to download MySQL ODBC driver. You can install it
but it is optional. The only requirement is that MySQL ODBC driver (myodbc5.dll) is located somewhere
where SqlDbx can find it, for example in a same directory where SqlDbx.exe or Driver folder under
directory where SqlDbx.exe located. Driver can be download from:
MySQL ODBC Connector
Download ZIP version with no install. Open it and extract file myodbc5.dll to SqlDbx or \Drivers directory.
This will allow you to connect to MySQL by selecting it from "DBMS Type" combo box on the login screen
There's two ways to specify port number if it is different from default (3306).
1. Specify Server name as SERVER:PORT
2. Add line PORT=port_number to Options edit box.
PostgreSQL How To
Before you can connect to PostgreSQL server you will need to download PostgreSQL ODBC driver. You
can install it but it is optional. The only requirement is that PostgreSQL ODBC driver is located
somewhere where SqlDbx can find it, for example in a same directory where SqlDbx.exe. Driver can be
download from:
PostgreSQL ODBC Driver
Download ZIP version with no install. Open it and extract all *.dll files to SqlDbx or \Drivers directory.
This will allow you to connect to PostgreSQL by selecting it from "DBMS Type" combo box on the login
screen There's two ways to specify port number if it is different from default (5432).
1. Specify Server name as SERVER:PORT
2. Add line PORT=port_number to Options edit box.
Informix How To
Before you can connect to Informix server you will need to download Informix ODBC drivers. You can
install them but it is optional. The only requirement is that Informix ODBC drivers located somewhere
where SqlDbx can find driver, for example in a same directory where SqlDbx.exe or in Drivers
subdirectory.
Kdb+ How To
Before you can connect to Kdb+ server it is necessary to download and install Kdb+ ODBC driver from:
Kdb+ ODBC driver download
After you install ODBC driver there's two different way to configure access.
1. You can created DSN using using ODBC Manager (Access it from SqlDbx main menu: Tools->ODBC
Administrator) and then use "ODBC" DBMS Type to connect to it
2. In Login dialog select DBMS Type "Kdb+" and in Server combo box enter server and port for KDb+
server, for example: SERVER1:5001. You can omit port number in Server combo box and specify it in
Options edit box using following format: PORT=5001
It is also possible to configure SqlDbx to use Kdb+ ODBC driver directly without installing it. In this
instance you need to copy qodbc.dll file to the same directory where SqlDbx.exe located or to a
subdirectory named "Drivers" and then use the second method described above to connect.
To connect without defining ODBC DSN you need to specify DRIVER=dll_name in Options edit control on
a Login screen
dll_name should refer to actual driver dll. In this case DSN combo box should specify actual database
server name
It is possible to execute set of predefined commands when using ODBC Connectivity. These commands
directly map to ODBC API functions. See ODBC documentation for parameter description. This feature
mainly used to help us to debug ODBC connections for underlying databases to which we do not have
access.
=SQLTables (Catalog, Schema, ObjectType)
=SQLColumns (Catalog, Schema, Table)
=SQLSpecialColumns (Catalog, Schema, Table)
=SQLPrimaryKeys (Catalog, Schema, Table)
=SQLForeignKeys (Catalog, Schema, Table)
=SQLProcedures (Catalog, Schema, ObjectType)
=SQLProceduresColumns (Catalog, Schema, Procedure)
Fixes
Fixes
Fixes
Custom object filter does not work correctly when owner name present
Change to how Script Variables work. DEFINE replaced with $DEFINE. $(var_name) syntax
available in Oracle. &var_name depreciated
Shortcut to switch between connections. Ctrl + Shift + Page Down and Ctrl + Shift + Page Up
Fixes
Old SQL Server client connecting to new version of SQL Server (Text truncation)
Fixes
Italian translation
Fixes
Focus not set correctly when add new result tab option checked
Sybase IQ 16 support
Fixes
Incorrect generated DELETE or UPDATE when not all table constraints included in result set
Scripted NUMERIC columns do not include precision and scale (Sybase IQ)
Errors retrieving values from UNSIGNED INT and UNSIGNED BIGINT columns (ODBC drivers)
Fixes
Improved usability
Fixes
Fixes
Fix exception when retrieving long char columns using Access or Excel ODBC driver
Ability to run both x86 and x64 version from the same directory with drivers in Drivers and
Drivers64 directories
Fixes
Table constraints not scripted correctly in some instances (Microsoft SQL Server 2005/2008)
Fix for IBM CLI x64 driver reporting incorrect length for variable length columns
Fixes
Export as HTML
Fixes
Long identifiers option not available for Sybase version < 15.x
Fixes
Informix synonyms
Fixes
Fixes
Intellisense fixes
PostgreSQL support
Fixes
Fixes
Intellisense displays incorrect table columns for tables with the same name in different schemas
(SQL Server)
Script to Clipboard
Minor UI changes
Fixes
Object list empty for case sensitive server installations (Microsoft Sql Server)
Generated SELECT / UPDATE / DELETE missing second fractions for some Date types
Script commands
Changed behavior of some shortcuts keys in Editor and Results Grid (HOME, END, PgUp,
PgDown, Ctrl+D)
Fixes
Drop menu in Object View not working correctly when selecting multiple items
Unable to connect to Sybase ASE when certain database administration tasks running
Improved Intellisense
Added ability to use ODBC drivers for some database systems without creating DSN entries
SQL Forms
Fixes
Generate SELECT / INSERT / ... uses SQL formatter settings (SqlDbx Pro only)
Fixes
Keyboard menu accelerators not working for languages other then English
Intellisense improvements
Fixes
Exception in Editor
SQL Log
Keyboard shortcuts to switch focus between different windows (Ctrl+1, Ctrl+2, Ctrl+3)
Fixes
Added option to only generate update statement when editing table data
Fixes
Computed table columns were not scripted correctly for Sybase and SQL Server
Improved Insert New Row feature. Better handling of identity and timestamp columns
Fixed scripting of defaults and check constraints for Sybase and Microsoft SQL Server
Added ability to modify table data and generate UPDATE/INSERT for ODBC Connections
Multiple improvements for DB2 scripting. Better support for DB2 iSeries
Added ability to select multiple objects in Object View using SHIFT key.
Added ability to modify table data for tables with no unique constraints
Added new option to float and dock Object View, Edit and Result tabs
New Editor features. Go to Line (Ctrl+G) and Mark all occurrences of a word (Ctrl+M)
New Editor feature. Automatically highlight matching BEGIN/END IF/END IF, CASE/END, ... SQL
blocks
Added new option to generate SQL Plus compatible scripts for Oracle
Fixed error when executing Oracle stored procedures with multiple output cursors
Added support for password expiration policies for Oracle, Sybase and Microsoft SQL Server
Added support for Run / Script Execute stored procedures with output parameters
Fixed inconsistent behavior for CHAR columns between ANSI and UNICODE versions
Fixed issue with Speed Typing settings not being saved correctly
Added shortcut keys to Show/Hide Results (F11) and Show/Hide Objects (Ctrl+F11)
Added option to output informational and error messages into Result Grid
Fixed access violation when opening workspace referencing non existent files
Fixed access violation for Oracle when entering SQL Plus commands
Fixed error displaying functions in Server Explorer for Sybase ASE 15.x
Fixed IDENTITY and COLLATION clause scripting for Microsoft SQL Server
Objects with names containing "." characters were not handled correctly
Visual data compare was not correctly ignoring trailing right whitespaces
Fixed scripting of user defined types for Sql Server and Sybase
Intellisense enhancements
Scripting improvements
Usability improvements
Added supports for proportional and Asian fonts. Better IME support
Intellisense improvements
Improved compatibility with some ODBC drivers. Added batch separator (;) for ODBC sources
Oracle RAW and LONG RAW columns were not displayed correctly
Fixed issue with not being able to edit data in Sybase tables
Added ability to execute stored procedures and functions from Editor popup menu
Added option to automatically disconnect from Server after user specified time period
Improved handling of temp tables for Sybase and Microsoft Sql Server
Fixed issue with not releasing DB2 locks in some rare circumstances
Fixed issue with error lines not being indicated correctly for Sql Server
Fixed issue with number formats for some locales when generating INSERT/SELECT/UPDATE
Fixed issue with automatically committing changes when editing table data for Oracle when
AUTO COMMIT is off
Fixed generate table script. Order of defaults, identity and constraints was wrong
Added option to copy column names with types and generate create table statement in Result
Grid
New Quick Diff feature. Drag and drop text, script tab or result tab on a Quick Diff toolbar button
to run diff between two items
Fixed and added more options for multi selection in Object View
Fixed couple issues with Intellisense for DB2. Missing procedures, showing of system views
Object View now allows multiple selections. Enabled copying from Object View by using keyboard
Added ability to add results of every query to a new Result Tab (hold Shift key while executing
query)
Added ability to toggle ON/OFF limit for number of query result rows
Find, Replace and Object Properties dialogs are not modal anymore
Server Explorer was not correctly displaying DB2 and Oracle procedures
Fixed incorrect scripting of DEFAULT values and GENERATED BY columns for DB2
Added multi line cursor insert/delete/type to Script Editor. Added shortcut key to set block
selection on (Alt + C)
Changed behavior for option "Results in Script Window". Now output goes to separate window in
a Results Tab
Added ability to directly execute Oracle package procedures and functions from Object View
Added two new items to Editor popup menu: Script Object to new Window and Sync Object View
Added new shortcut key to switch between Editor and Results Grid (Ctrl + D)
Added more options to copy data from Results Grid and paste to Script Editor
Intellisense extended to work with temporary tables in MS Sql Server and Sybase ASE
New features
Sync Object View with Script Editor
Added menu and shortcut keys for BEGIN, COMMIT and ROLLBACK TRANSACTION statements
Added ability to switch AUTO COMMIT ON/OFF for DB2 and Oracle
Improved IntelliSense
Fixed issue with Sql Server and DB2 reporting an error when delete, update or insert did not
affect any rows
Some minor GUI improvements and usability enhancements. Slight changes to menu structure
Do not truncate trailing blanks for VARCHAR columns when copying from Results Grid
Significantly enhanced Speed Typing. Integrated with Intellisense. Now supports formal
arguments
Option to parse scripts for syntax errors without execution implemented for Sybase ACE and Sql
Server
Intellisense and Auto Complete now work across databases, schemas and owners. Enable it in
Options->Editor->Intellisense
Added ability to execute procedures and functions directly from Object View.
Scripting for procedure and function execute now uses template parameters
Added command line options. SqlDbx Pro only. See help for details
Removed option to pre load packages for Intellisense for Oracle (not needed anymore). Fixed
couple of bugs in Oracle SQL Parser
Fixed issue with mixed case object names and names with embedded spaces for Oracle and DB2
Generate INSERT/DELETE/SELECT now correctly handles string with embedded single quotes,
binary columns and columns with NULL values
Fixed loading of incorrect system tables and views for SQL Server 2005
Added shortcut to select SQL block (Ctrl+B). Shortcut for selecting text block changed to
Ctrl+Shift+B
Fixed issue with output messages sometimes not displaying correctly for SQL Server
Fixed occasional freezing or termination of application while copying data from Result Grid
Export to Excel of date and numeric columns does not depends on formats selected in Options
anymore
Minor fixes and improvements. Some shortcut keys were not working. Missing keywords
Now each script tab has it's own associated set of results
Improved support for DB2 7.1 on z/OS. Fixed incorrect scripting of FOREIGN KEY constraints for
DB2
Fixed issue with inability to edit data in results grid for Sybase and SQL Server
GUI improvements
Generate SELECT statement from results grid. Show table constraints in Object View
Intellisense changes
System tables, views and procedures can be added to Intellisense. Options->Editor>Intellisense
New auto suggest feature. Default shortcut key Ctrl+SPACE. Very basic at this time
No popup lists and keyword capitalization inside comments
Added handling for even more data types for SQL Server and DB2
Intellisense now works with procedures and functions in Oracle packages. You can add packages
to be included in Intellisense
It's now possible to set values to NULL when editing table data
Added handling for more data types (SQL Server : BIGINT, BINARY, VARBINARY. DB2 : BINARY,
VARBINARY)
Added option to select alternative background and text color for database connections
Intellisense improvements. Table aliases recognized. DELETE and UPDATE statements supported.
List of columns shows after WHERE and SET clauses
Display query plan and query statistics for Sybase, Oracle and SQL Server
Allow to directly modify table data in result grid for tables with unique constraints
Option to limit number of returned rows. Option to see totals for numeric columns
Enable multiple selection in result grid. Copy and Generate statements use multiple selections.
Fixed incorrect scripting of unique constraints for Sybase and Microsoft Servers
Fixed incorrect parsing of CASE and OPEN PL/SQL statements for Oracle
Speed Typing