SQLDBX PDF
SQLDBX PDF
SQLDBX PDF
SqlDbx
Table of Contents
1. Overview of SqlDbx ......................................................................................................................... 3
2. Using SqlDbx ................................................................................................................................... 3
2.1 Quick Start................................................................................................................................. 4
2.2 Editor Keyboard Shortcuts ........................................................................................................ 4
2.3 Results Grid Keyboard Shortcuts .............................................................................................. 7
2.4 SQL Script Editor ....................................................................................................................... 9
2.5 Intellisense ................................................................................................................................ 9
2.6 SQL Templates ........................................................................................................................ 10
2.7 Speed Typing ........................................................................................................................... 10
2.8 Visual Diff ................................................................................................................................ 11
2.9 Export / Import ....................................................................................................................... 11
2.10 Generate Scripts ................................................................................................................... 11
2.11 Server Explorer...................................................................................................................... 11
2.12 Options.................................................................................................................................. 12
2.13 Command Line Options ........................................................................................................ 12
2.14 Quick Tips .............................................................................................................................. 12
3. Script Editor .................................................................................................................................. 13
3.1 Editing Scripts.......................................................................................................................... 13
3.2 Executing Scripts ..................................................................................................................... 13
3.3 Script Variables ....................................................................................................................... 14
3.4 Script Commands .................................................................................................................... 15
4. Object View ................................................................................................................................... 16
4.1 Working with Object View ...................................................................................................... 16
4.2 Execute Procedures / Functions ............................................................................................. 17
5. Results View .................................................................................................................................. 18
5.1 Results Grid ............................................................................................................................. 18
6. Options .......................................................................................................................................... 20
6.1 General.................................................................................................................................... 20
6.2 Editor....................................................................................................................................... 20
6.3 Colors ...................................................................................................................................... 21
6.4 Results ..................................................................................................................................... 21
6.5 Scripting .................................................................................................................................. 22
6.6 Import / Export ....................................................................................................................... 22
6.7 Servers .................................................................................................................................... 23
7. Oracle Help.................................................................................................................................... 23
7.1 Oracle How To......................................................................................................................... 23
7.2 Bind Variables ......................................................................................................................... 23
7.3 SQL*Plus commands ............................................................................................................... 24
8. Microsoft SQL Server Help ............................................................................................................ 24
8.1 Sql Server How To ................................................................................................................... 25
9. Sybase Help ................................................................................................................................... 25
9.1 Sybase How To ........................................................................................................................ 25
1
SqlDbx
2
SqlDbx
1. 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
Browse / Explore Servers
Fast, intelligent, extensive and highly customizable Intellisense
Advanced script Editor with Syntax highlighting, Auto Complete, Speed Typing, Drag/Drop,
Undo/Redo, Find/Replace
Unicode support
Visual Data Diff
SQL Scripting
SQL Formatter / Beautifier
Generate SELECT, INSERT, UPDATE, DELETE, WHERE IN data modification statements
directly from result grid
SQL templates with replaceable formal parameters
Import / Export to CSV, XML, Excel
Schema object browser
SQL statement history
Favorite objects
Search in Database and in Result grid
Directly edit table data in Result grid
Display query plan and query statistics
Simple deployment and removal. No dll's or other dependencies. Just one executable (1.4
meg.)
2. 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
3
SqlDbx
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.
Cursor Movement
Left Move cursor one character left
4
SqlDbx
Ctrl + G Go To Line
Edit
Ctrl + Y Delete current line
Selection
Ctrl + A Select all
5
SqlDbx
Ctrl + Shift + Home Extend selection from current position to the beginning of script
Ctrl + Shift + End Extend selection from current position to the end of script
Ctrl + M Highlight all words like the one under the cursor
F6 Quick Find
F3 Find next
Query / SQL
Ctrl + E, F5 Execute SQL statement
6
SqlDbx
F7 List Tables
Bookmarks
Ctrl + F2 Toggle bookmark
F2 Go to next bookmark
Miscellaneous
Ctrl + Page Down Next Script Window
7
SqlDbx
Selection
Left Mouse Button in top left corner Select all
Shift + Left Mouse Button in grid area Extend selection from active cell to clicked cell
Ctrl + Left Mouse Button Begin new selection without clearing current selection
Ctrl + Shift + Left Extend selection left to the edge of data region*
Ctrl + Shift + Right Extend selection right to the edge of data region*
Ctrl + Shift + Down Extend selection down to the edge of data region*
Clipboard
Ctrl + C Copy to Clipboard
Find / Diff
Ctrl + F Show Find dialog
8
SqlDbx
F3 Find next
Group Mode
Left Mouse Double Click Expand / Collapse one level section
Miscellaneous
Ctrl + Shift + N New Result tab
Left Mouse Double Click on column header Toggle column sort ascending / descending
Ctrl + Left Mouse Double Click on column header Add column sort
* - data region: A range of cells that contains data and is bounded by empty cells
2.5 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.
Display objects from other Schemas (Oracle, DB2) or other Databases (Sy
Include Schemas/Databases
MS)
9
SqlDbx
Capitalize Keywords Automatically capitalizes Keywords after you type space or separator char
Capitalize
Automatically capitalizes Procedures/Functions
Procedures/Functions
Example:
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
Open a Script window
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
10
SqlDbx
To specify cursor position in Editor after expansion put symbol '^' anywhere in substitution column
text
Visual Diff offer Quick Diff option. To use this option just do one of the following: select text in
Editor or Result grid and drag / drop it to "Quick Diff" toolbar button on the main menu.
After you do it twice Visual Diff screen will open automatically displaying difference. Also right click
popup menu in Editor and Result grid has an option to execute "Quick Diff"
Export to Excel
Select Export To->Excel menu item from table popup menu to copy all table data to Excel.
11
SqlDbx
database objects. The Server Explorer includes two panes. Left pane displays database objects of
currently selected Server and right pane shows summary for them.
2.12 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
-d
Database / Schema name
database_name
-u user User name. If -U and -P not supplied try to login using integrated security
Start new instance of SqlDbx. If -n not specified then pass arguments to the instance starte
-n
none found then start new instance.
Command line flags are not case sensitive and space after them is optional
*Command line options are supported only in SqlDbx Professional Edition
02 You can enable automatic save / restore of SqlDbx session state by checking Enable Session State check box on
Speed typing allows to create aliases for often used SQL blocks. For examples you can add string "sla" as alias f
03
Typing
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
08 Results Grid supports sorting and moving columns. Also it supports multiple selections. Hold Ctrl key while select
12
SqlDbx
09 Quickly select SQL block by placing cursor on first character and then press Ctrl+B
Quickly export data from table. Execute select * from <table_name>, then select everything in Grid Results by c
10
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
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
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 script file loaded
13
SqlDbx
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
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.
where:
= - 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
var_name - variable name
var_value - optional variable value
CHAR, VARCHAR, DATE, INT, NUMBER - optional variable type. If present helps to
correctly convert var_value to type
$DEFINE var_date
$DEFINE var_string
14
SqlDbx
If you try to execute script above then window will popup asking to supply values for defined
variables which do not have values assigned to them. This will be happen every time you execute
above script because $DEFINE statement will reset variable value to nothing. If Script variable
contains type declaration then SqlDbx will try to convert specified values to corresponding type. If
conversion fails then query will not be executed. For example if you specify string_value for
var_string then it will be enclosed in single braces automatically or if type declared as DATE and
your database is Oracle then it will be replaced by function TO_DATE(var_date, 'YYYY-MM-DD'). If
no type specified or variable value provided then no conversion will apply.
Predefined Variables
SqlDbx defines following glogbal variables:
$(USER) - returns Windows login
$(TODAY) - returns today's date
$(NOW) - returns today's date and time
$(CURRENT_SCHEMA) - returns current schema
$(NEW_UUID) - returns new UUID
where:
cmd required and indicates the start of a command
command_name one of the supported commands
command_options command options if any
15
SqlDbx
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
Export script command applies to the next SQL statement. For example to export result of the
query to excel
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 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.
Script Create Scripts object CREATE statement in current or new editor window
16
SqlDbx
Script
Generates object permissions
Permissions
Allows to directly edit table data in Results Grid Table has to have
Edit Table Data
PRIMARY KEY or IDENTITY or UNIQUE KEY
Import Data
See Export / Import
From
Add to
Adds object to Favorites Bar in Object View
Favorites
Locate in Script Locate CREATE statement for selected object in the active Editor window
Scripting
Displays Scripting Options page
Options
Shift + T Tables
Shift + V Views
Shift + S Sequences
Shift + P Procedures
Shift + F Functions
Shift + R Triggers
Shift + K Packages
Shift + N Synonyms
17
SqlDbx
You can use "Script EXECUTE" menu option if you wish to execute procedure from script tab.
To specify parameters in this case select generated code and use "Replace Template Parameters"
menu option to specify initial values
5. Results View
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.
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
18
SqlDbx
Get Child / Parent Allows to quickly retrieve Child / Parent rows rows based on a
Rows FOREIGN KEY constraint defined for selected rows
Copy Special
Copy With
Includes column names
Column Name(s)
Copy Column
Copy only column names to Clipboard
Name(s)
Copy Column
Copy only column names and types
Name(s) and Types
Copy Result
Copy result query
Query
Export To
Excel (as
Export to Excel as text displayed in Result Grid
displayed)
File (csv, xml, Export to File. Type of export will depend on specified file
html) extension. Defafult is CSV
Results
New Result Tab Add new result tab if option Multiple Results Tabs enabled
19
SqlDbx
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 Dialog is accessible from toolbar or Main Menu->Tools.
General Options
Editor Options
Colors
Results Options
Scripting Options
Import / Export
Servers
6.1 General
Directories
File Browser Default root directory for File Browser and SQL Templates
Settings
Alternate Window
Switches between two predefined windows layouts
Layout
Open Session
Connects to Database during loading of Session State
connections
File Extensions Specifies extensions and filters for Open and Save dialogs
6.2 Editor
This page contains settings for Script Editor
20
SqlDbx
Auto Indent Auto indent next line when "Enter" key pressed
Fonts
Keep Tabs / Insert Spaces Inserts spaces or keeps tabs when "Tab" key pressed
End of Line Style Controls how end of line set in file when saved
6.3 Colors
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
Data Format
Do Not Use Date Format For Do not use date format to format TIMESTAMP
Timestamps columns
Set Focus to Grid After Execute Set focus to grid after query completes
21
SqlDbx
Show Column Types Display column types under the header in Grid
6.5 Scripting
These setting are used when Objects scripted from Object View
Script DROP for procedures Script DROP statements for procedures, functions
Use ALTER / REPLACE Use ALTER / REPLACE for procs, functions if available
Log File per Server One log file for each server
Monthly / Daily (Checked) Start new log file every month or every day
Date Format
Date format used when exporting to CSV files and it also used when generating SELECT, INSERT,
UPDATE statements
22
SqlDbx
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.
6.7 Servers
Server Options pages allow to specify settings for different servers.
Oracle Help
Sybase Help
Microsoft Sql Server Help
IBM DB2 Help
Informix Help
Teradata Help
MySQL Help
PostgreSQL Help
Kdb+ Help
7. Oracle Help
Supported versions:
8.1.5
8i
9i
10g - 11g
12c
Oracle How To
Oracle Bind Variables
SQL*Plus support
23
SqlDbx
You reference bind variables in scripts by typing a colon (:) followed immediately by the name of
the variable. For example
After executing this block you will see output in grid automatically
VARIABLE rc REFCURSOR;
BEGIN
EmpReport (:rc);
END;
24
SqlDbx
9. Sybase Help
Supported versions
Sybase ASE 10.x - 15.x
Sybase IQ 12.5 - 16.x
Sybase Anywhere 9.x - 12.x
Sybase How To
HOSTNAME = hostname
APPNAME = appname
ENCRYPT = yes
To connect to Sybase ASE directly without using interface file or LDAP specify server on Login
dialog as: SERVER:PORT
How to check database client software setup in case SqlDbx unable to connect
1. Start command prompt
2. Type db2cmd and press enter
25
SqlDbx
Default delimiter is ";". If SQL script sets delimiter to something else it will be reset to ";" after all
statements in the batch processed.
Parameters also can be specified inline. Below is modified version of the code above.
VARIABLE COMMANDS '-DISPLAY THREAD(*) TYPE(*)' VARCHAR
VARIABLE PARSE_TYPE 'THD' VARCHAR
In case of DB2 LUW or DB2 iSeries there's no need to have VARIABLE statement or specify types
for IN parameters.
CALL SYSPROC.DSNACCMD ('-DISPLAY THREAD(*) TYPE(*)', 100, 'THD',
?_COMMANDS_EX$int$out, ?_IFCA_RET$int$out, ?_IFCA_RES$int$out, ?_XS_BYTES$int$out,
?_ERROR_MSG$int$out);
26
SqlDbx
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.
Teradata How To
Before you can connect to Teradata Server you will need to download and install Teradata ODBC
drivers.
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:
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:
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.
27
SqlDbx
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.
ODBC How To
28
SqlDbx
Fixes
Object filters not saved correctly
Several internal queries do not free locks
Certain error message ignored and not displayed
Inconsistent and missing shortcuts
Generate Scripts includes incorrect objects (Sybase IQ, Sybase ASE)
Generate Scripts ignores some scripting options
Some schemas missing in Schema combo box (Sybase IQ, Sybase ASE)
Fixes
Unhandled exception when using ODBC drivers
Rare x64 version crash
Drag / Drop from internal file browser
Unable to cancel scripting if database error
Incorrect copy / paste of date fields when modifying data in Result Grid
Scripting when using Oracle DBMS_METADATA package
Fixes
Fixed SQL Formatter
Some settings not saved correctly in Portable Mode
Binary column display shows extra characters
Fixes
Intermittent crash when executing Named Regions
Rollback transaction on disconnect (IBM DB2)
Errors not handled correctly inside batch (SQL Server, Sybase ASE)
Error saving Unicode files
$define causes an error in Named Script Fragments (Oracle)
$define data types not handled correctly
Corrupted Recent Files menu
29
SqlDbx
Fixes
Connection fails when hostname:port/service specified (Oracle)
Unable set value to null when modifying table data
Fixed incorrect handling of Unicode files in ANSI version
Fixes
Incomplete table scripting (ODBC)
Incorrect sort in Server Explorer
Server Explorer shows wrong objects (PostgreSQL)
Multiple database files displayed for Access ODBC sources
Editor cursor position is incorrect in some rare instances
Fixes
Crash when rearranging editor tabs
Incorrect scripting of objects names in some rare instances (Oracle)
Incomplete object scripting (Oracle)
Generate Insert not working when statement ends with ";" (Sql Server)
Fixed create type and create view (Oracle)
Console output missing (Unicode)
Search / Replace in Block Mode
Incorrect time zone conversion when option Convert TIMESTAMP_TZ to local time enabled
(Oracle)
Mac end of line not handled correctly
Fixes
Copy from Visual Diff window
Missing characters and incorrect scripting in Unicode version
30
SqlDbx
Fixes
Crash when option "Include Errors in Grid" is set
Potential crash when opening recent files
Search does not work in Messages tab
Setting Speedword completion keys has no effect
Relative directories in Portable mode
Only first statement executed in multi statement batch (Teradata)
Fixed some admin queries (Sybase ASE)
Wrong schema name in Visual Diff title
Minor GUI changes
Fixes
TIMESTAMP columns not detected correctly in some cases
BIGINT values truncated to INT
Potential crash when retrieving data
Incorrect case conversion in some rare cases
Relative directories not handled correctly
Backup files not overwritten anymore
Mac formatted files displayed incorrectly
System objects loaded from wrong database (SQL Server)
Fixes
Corrupted text returned in Unicode version
Error parsing nested function (Oracle)
Fails to load old Oracle Client version
Crash when expanding table columns (Oracle 8i)
Some warnings reported as errors (Sybase ASE)
Visual Compare Schema loads objects from wrong schema
Objects not sorted in Object Explorer
In some rare instances Grid Results shows extra outputs (DB2)
31
SqlDbx
Fixes
x64 version crash when retrieving binary data
Text is missing when printing results
Index scripting incomplete (SQL Server)
Password not updated after change
Errors not displayed if password change failed
Toolbar buttons disappear or in wrong position
Unique index not used in Generate Update / Delete (Oracle)
Fixes
Unable to connect to Microsoft LocalDB default autoconnect instance
Generate Scripts skips some objects in rare cases
Wrong or missing keyword colors in editor (Informix)
Unable to use alternative Oracle Home
Recent file list shows files in wrong order
Minor GUI changes and enhancements
Unable to select encoding when saving files
Server Explorer displays misleading error messages
Fixes
Missing terminator when scripting views (Oracle)
Mark all words not working correctly
Wrong text inserted when using Copy / Paste block
Incorrect scripting of DEFAULT clause (Sybase IQ)
Table names missing in Intellisense (Sybase IQ)
Custom object filter does not work correctly when owner name present
$define variables not loaded for temp scripts
Fixes
Old SQL Server client connecting to new version of SQL Server (Text truncation)
Incorrect sorting in Unicode version
32
SqlDbx
Fixes
Single line comment requires carriage return (Teradata)
Field length is incorrect when Results in Text
SQL log fails if server name contains certain characters
Favorites not saved if server name contains certain characters
Incorrect drop statement for functions with default arguments (Informix)
Script object does not work from Favorites tab
In some cases scripted objects missing characters
Fixes
x64 version crash with result sets > 2GB
Execute/Script for overloaded functions (Oracle)
Focus not set correctly when add new result tab option checked
Incorrect fixed pitch font detection on Windows 7
Printer font not saved / set correctly
Backup file fails when using Save As...
Inconsistent source scripting for stored procedures (SQL Server)
Fixes
Escape key does not close Visual Diff window
Errors connecting to SQL Server 7 and 2000
Incorrect generated DELETE or UPDATE when not all table constraints included in result
set
Enable Table Edit option has no effect in Production mode
Registration dialog appears on every restart
Scripted NUMERIC columns do not include precision and scale (Sybase IQ)
Errors retrieving values from UNSIGNED INT and UNSIGNED BIGINT columns (ODBC
drivers)
33
SqlDbx
Fixes
Excel Export fails when string starts with '='
SqlDbx becomes unresponsive when script contains SQL*PLUS commands (Oracle)
Whole word replace sometimes does not work correctly
Current database not restored on restart (Sybase ASE)
Incomplete index scripting (Sybase IQ)
Long queries truncated in Data Diff window
Erroneous license violation dialog
File save fails in Unicode version
File can not be opened if it is already opened in another application
Fixes
Connection information not saved correctly (Sybase ASE/IQ)
Connect to default SERVICE_NAME does not work (Oracle)
Column total formatting does not match column format
Incorrect create index with INCLUDE (column) (DB2 LUW)
Error saving files when SqlDbx folder is read only
Painting issue in the object pane
Incorrect insert row for graphic and vargraphic columns (DB2)
Incorrect sorting of decimal values
Help not launching from Unicode and x64 version
Inconsistent handling of script commands
Fixes
Fix exception when retrieving long char columns using Access or Excel ODBC driver
Incorrect saving of login info (Sybase IQ, iAnywhere)
Error scripting physical table properties (Oracle)
Sybase IQ 12.4 scripting errors
Permissions scripting not working is some instances (SQL Server)
Resolved issue with ocs.cfg (Sybase ASE)
34
SqlDbx
Ability to run both x86 and x64 version from the same directory with drivers in Drivers and
Drivers64 directories
Fixes
Script variables do not work with ODBC connections
Table checks not scripted correctly (Sybase ASE)
Table constraints not scripted correctly in some instances (Microsoft SQL Server
2005/2008)
Search in Object view does not work in x64 version
Fix for IBM CLI x64 driver reporting incorrect length for variable length columns
Fixes
Wrong driver loaded for ODBC connections
SqlDbx becomes unresponsive when searching in Object View
Generate INSERT does not work on filtered results
Non system tables owned by user informix not displayed (PostgreSQL)
"Unknown exception" error when exporting to Excel
Table properties not scripted for Sybase ASE 15.5
Fixes
Intermittent crash when selecting very long text data
No output for MESSAGE statement (Sybase IQ, iAnywhere)
Script truncated for very large tables
Last exported row to Excel has wrong formatting
Script variables do not use defined color
DBMS metadata scripting missing indexes and constraints (Oracle)
IDENTITY column not scripted (Sybase ASE)
Long identifiers option not available for Sybase version < 15.x
Fixes
Database combo box empty (Sybase 11)
Error connecting using ODBC
Horizontal scrolling using mouse
Main menu not displayed correctly in SqlDbx x64
35
SqlDbx
Fixes
XML type columns not displayed (Oracle)
Closing Results window exits SqlDbx
Unable to move Grid columns
Intellisense fix for table aliases
Single quote not escaped in Generate SELECT / DELETE / UPDATE
String quoting in SqlDbx Unicode
Do not display IN parameters when executing stored procedures (DB2)
TRUNCATE TABLE menu does not work (DB2)
Missing stored procedure properties (DB2 z/OS)
Do not display auxiliary tables (DB2)
Execute and Script Execute stored procedures fails (DB2 z/OS)
Incorrect scripting of DROP for materialized views (Oracle)
Incorrect scripting of GRANT for functions returning table
Fixes
Truncation of long character columns (DB2, SQL Server, ODBC)
Unicode version uses too much memory
Intellisense fixes
Incorrect lower/upper keyword case in some instances
Unhandled exception in editor when moving line up / down
Incorrect Intellisense parameters for stored procedures (MySql)
References loaded for wrong schema
Export to CSV with no delimiters right trims VARCHAR columns
36
SqlDbx
Fixes
Fixed issue with Oracle parser
Disable ODBC escape sequences
Disable not implemented menus and toolbar icons
Results in Grid / Text option not handled correctly
Blank DATE or TIME columns
Incorrect scale displayed for MONEY columns (Sybase ASE)
"Rerun Query" executes wrong query
Fixes
Intellisense displays incorrect table columns for tables with the same name in different
schemas (SQL Server)
Compilation errors not displayed (Oracle)
Handle invalid dates (Oracle)
"Scripting Options" dialog displayed multiple times
Multiple fixes for x64 version
Procedure source not shown correctly (Sybase IQ, iAnywhere)
Missing precision for DATETIME2 and TIME columns (SQL Server)
Exception when exiting with results windows open
Fixed incorrect display of UNIVARCHAR and UNICHAR columns (Sybase ASE)
Exception when pasting text from other applications
Incorrect system views used for some catalog queries (Oracle)
Fixes
Object list empty for case sensitive server installations (Microsoft Sql Server)
Generated permission statements missing separator (IBM DB2)
Generated SELECT / UPDATE / DELETE missing second fractions for some Date types
Some UI elements not updated correctly when switching between connections
Diff view displays identical lines as changed
Line numbers missing in Messages Tab
CLR functions not displayed in function list (Microsoft SQL Server)
Line numbers missing in Messages Tab
Erroneous scripting of permissions for triggers
37
SqlDbx
Fixes
Exception when loading session state from unavailable network share
Drop menu in Object View not working correctly when selecting multiple items
Unable to connect to Sybase ASE when certain database administration tasks running
Temp tables column not showing in Intellisense (Sybase, MS SqlServer)
Incorrect scripting of GRANT TO PUBLIC
Result Grid mode reset after each query
Editor is not responsive in certain situations
Fixes
Long table constraints truncated (Sybase)
Incorrect number of affected rows by stored procedure (Sybase)
Inconsistent Editor behavior for some shortcut keys
Incorrect lower/upper keyword case in some instances
sp_procxmode not scripted for stored procedures (Sybase)
Search in Results not working for some locales
Couple small scripting errors
Exception when closing ODBC connections
Fixes
Table columns not sorted in Intellisense window
Table names missing owner (Sybase Anywhere / IQ)
Incorrect table scripting (IBM DB2 for z/OS)
Timeout connecting to DB2 on iSeries
38
SqlDbx
Fixes
Error connecting to Oracle 8.1.x
BEGIN / END blocks not matched correctly
Toolbar combo boxes not working on Windows 2000
Inconsistent menu items and shortcuts
Exception for ODBC connections
Reduced windows resources usage
Exception in Editor
Fixes
Incorrect cursor position after search
OUT parameters for SQL Server not scripted correctly
Crash during restoring saved session
Editor crashes when using bookmarks
Inconsistent keyboard shortcuts
39
SqlDbx
Fixes
Intermittent x64 version crashes
Computed table columns were not scripted correctly for Sybase and SQL Server
Long passwords truncated
Oracle XMLType limited to 2K
Session state not restored correctly in some instances
File save dialog missing ANSI / UNICODE combo box on Windows 7
SqlDbx Unicode version not connecting to SQL Server on Windows 7
40
SqlDbx
41
SqlDbx
42
SqlDbx
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
Enhancements and improvements in GUI, Editor and Results Grid
43
SqlDbx
44
SqlDbx
45
SqlDbx
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
Some other minor GUI enhancements and improvements
46
SqlDbx
47
SqlDbx
48