SQL Connectivity Kits
DataFlex SQL Connectivity Kits from Data Access Worldwide
Current Version: 6.3.0.13
Release Date: April 10, 2019
Installation File: SQL Connectivity Kits v.6.3.0.13.zip
Introduction
Connectivity Kits provide DataFlex Studio, Windows and Web Clients and WebApp Server with database drivers for Microsoft SQL Server, IBM DB2 and via ODBC MySQL and other database servers and data sources.
Use of Connectivity Kits is governed by the license agreement included with the Software Product with which the Connectivity Kits are installed. For licensing information, please contact Data Access Worldwide at sales@DataAccess.com or your Data Access Worldwide regional office or Channel Partner.
This ZIP file updates to the version shown above development environments that already have a previous version of the Connectivity Kits installed. It will also install drivers where no Connectivity Kit has been previously installed.
Online Documentation
SQL Drivers
The features, issues and additional capabilities of using the DataFlex SQL Drivers are discussed in the Data Connectivity section of the online Help.
Product Registration
As any DataFlex products, DataFlex SQL Drivers will need a valid license in order to be functional. The registration program and other aspects of Product Registration are explained in the online Help.
Upgrading Client Environments
The first thing to do is to consider if the current update is needed and then determine the right moment to install it.
If you determine that you are going to upgrade the drivers, you would always first upgrade them in the development environment for the DataFlex revision being used and fully test the application(s) you run in that host revision.
Once your applications have been thoroughly tested, deploy the applications with the new version of the driver and plan the upgrade of existing sites.
Keep in mind that this update is to be installed in development environments - this ZIP file includes files that are not needed in a client environment. In order to upgrade client sites, you will need to create your own installation and procedure following instructions outlined in the deployment book of the respective DataFlex Help System.
Recent Changes and Fixes (since Build 6.2.0.42)
The family of SQL Connectivity Kits (including Microsoft SQL Server, IBM DB2 and ODBC) are published as a set. The changes and fixes listed in this document comprise a summary of changes made to that set. Some changes are specific to particular CKs and others are generic to the set.
For details on those changes, please refer to SQL Connectivity Recent Changes and Fixes.pdf
Build 6.3.0.13
Odbc_drv:
MySQL: Refresh table in DataFlex Studio would fail with Could not open and analyze SQL table or its INT file error. Caused by schema name being set to login user name.
MariaDB: Refresh table would sometimes write incorrect primary index to INT file.
Build 6.3.0.12
Odbc_drv:
Prior DataFlex ODBC drivers had several issues that caused some functionality not to work when used with MySQL and MariaDB. Several changes have been made in this update to make the DataFlex ODBC driver work properly with these databases.
Build 6.3.0.11
All DataFlex SQL Drivers:
Passing a variable length parameter (e.g varchar(max) ) for a stored procedure with SQLSetParameter could in some circumstances cause an exception.
When receiving result messages from a stored procedure or SQL script with SQLGetMessage, messages would be limited to 512 characters. The maximum length for result messages has been increased to 1024.
Build 6.3.0.10
All DataFlex SQL Drivers:
Embedded SQL. Changed SQL.pkg.
Added support to change the cursor type for an embedded SQL statement.
By using a different cursor type, it is no longer necessary to have variable length columns (varchar(max), varbinary(max)) last in the Select statement.
New embedded SQL function: Procedure SQLSetStmtAttribute Integer iAttribId String sAttribValue
Function SQLGetStmtAttribute Integer iAttribId Returns String replaces SQLStmtAttribute function (now obsolete).
Build 6.3.0.9
All DataFlex SQL Drivers:
Additional changes for parameterized queries. Changed sql.pkg
Further details and examples see below at Embedded SQL Parameterized queries
Mssqldrv:
Mssqldrv.int: Changed comments to reflect type mappings for SQL Server 2012 also apply for SQL Server 2014, SQL Server 2016 and SQL Server 2017.
Build 6.3.0.8
All DataFlex SQL Drivers:
Added support for parameterized queries in embedded SQL.
New sql.pkg with new functions:
SQLSetParameter
SQLSetNextParameter.
Further details and examples see Embedded SQL Parameterized queries
Build 6.3.0.7
DB2_DRV:
On a DB2 standard table with an identity column: Would generate "Wrong number of parameters." error when a value was provided for the identity column.
After restructure of DB2 standard table with an identity column, the identity value would not properly be restarted.
Build 6.3.0.6
MSSQLDRV:
Added Function SqlServerClientDriverName that returns the driver name. The driver name can be used to compose a connect string.
Changed mssqldrv.pkg
All DataFlex SQL Drivers:
Moved Function DriverIndex from mssqldrv.pkg (Class cMSSQLHandler) to cli.pkg (Class cCLIHandler)
Changed cli.pkg and mssqldrv.pkg
Changed DF_FILE_DATABASE_ID to make consistent with DF_DATABASE_ID.
Build 6.3.0.5
All DataFlex SQL Drivers:
Embedded SQL: Changed driver internal handling of connection and statement handles.
Odbc_drv:
Removed obsolete ODBC commands from odbc_drv.pkg.
Build 6.3.0.4
All DataFlex SQL Drivers:
Cleanup of driver related pkgs - Sql.pkg (changed single line ifs to multiline)
Changed driver internal handling of DF_DATABASE_ID attribute.
Added compiler warning DFERR_COMP_WARNING_OBSOLETE_CMD for obsolete commands
MSSQLDRV:
Added support for ODBC driver 17 for SQL Server. (SQL Server 2017 client)
Changed Mssqldrv.pkg
DB2_DRV:
For the DB2 TIMESTAMP type (DataFlex DATETIME type) the number of decimals (milliseconds, nanoseconds) can now be specified. DB2 allows TIMESTAMP(0) thru TIMESTAMP(12). Default is 0 decimals.
In the DataFlex Studio this can be specified as length 23.0 thru 23.12.
Note that more than 3 decimals may be truncated by the DataFlex runtime. It is recommended to use a maximum of 3 decimals for DATETIME type.
Earlier versions of DataFlex DB2 driver would create DATETIME columns as TIMESTAMP(6).
Changed DB2_DRV_DriverDef.xml file.
Build 6.3.0.3
All DataFlex SQL Drivers:
Cleanup of driver related pkgs: cli.pkg mssqldrv.pkg db2_drv.pkg odbc_drv.pkg sql.pkg
Embedded SQL function SQLColAttribute SQLCOLATTRIB_DFTYPE returned invalid values for some native types
Fill_Field DF_LOW/DF_HIGH of a time column, filled with incorrect time values. This caused "Time contains an invalid value." errors. Also during constrained finds on indexes with time column.
After changing Index Type from Server to Client_Only AND clearing the Index Name, the table could not be opened
anymore because of invalid INT file.
Exclusive open of a table with no index.1 would cause Index number out of range error.
ODBC_DRV:
Creating indexes and primary keys on PostgreSQL failed when using other than default schema public.
Structure_End would lowercase schema names on PostgreSQL
Build 6.3.0.2
All DataFlex SQL Drivers:
Removed DF_File_Record_Identity attribute from Studio driver configuration files.
Fix to make Studio driver configuration files work with DataFlex Studio before 19.0.
Changed files:
MSSQLDRV_DriverDef.xml
DB2_DRV_DriverDef.xml
ODBC_DRV_Driverdef.xml.
Build 6.3.0.1
All DataFlex SQL Drivers:
Delete_Index of a non-temporary index outside structure_start/structure_end caused access violation. (BT 7318)
Recnum tables with RECNUM column bigint could not be restructured. Fixed.
Build 6.2.0.42
All DataFlex SQL Drivers: Removed DF_File_Record_Identity attribute from Studio driver configuration files.
Fix to make Studio driver configuration files work with DataFlex Studio before 19.0.
For full details and a complete list of changes since build 4.0.0.35, please refer to SQL Connectivity Changes and Fixes.pdf available in the ZIP file in the Documentation folder.
Supported Environments
DataFlex 18.x and higher
Microsoft SQL Server 2017 (including LocalDB) using ODBC Driver 17 for SQL Server |
Microsoft SQL Server 2017 (including LocalDB) using ODBC Driver 13.1 for SQL Server |
Microsoft SQL Server 2016 (including LocalDB) using ODBC Driver 13 for SQL Server |
Microsoft SQL Server 2014 (including LocalDB) using ODBC Driver 11 for SQL Server |
Microsoft SQL Server 2012 (SP3 including LocalDB) using SQL Native Client 11.0 |
DB2 10.1 and higher
MDAC 2.8
Windows 7 and higher
ZIP File Contents
The ZIP file includes 5 folders containing the following files:
1. Bin
Access.int |
CKDaemon.exe |
DB1398.dfr |
DB2rtx.dll |
DB2_Drv.cfg |
db2_drv.dll |
db2_drv.int |
DB2_DRV_DriverDef.xml |
MariaDB.int |
MS1383.dfr |
MSSQLDrv.cfg |
mssqldrv.dll |
mssqldrv.int |
MSSQLDRV_DriverDef.xml |
MSSQLrtx.dll |
MySQL.int |
OD1476.dfr |
ODBCrtx.dll |
ODBC_Drv.cfg |
odbc_drv.dll |
odbc_drv.int |
ODBC_Drv_Database.int |
ODBC_DRV_DriverDef.xml |
Pervasive.SQL.int |
PostgreSQL.int |
Register.exe |
Register.exe.manifest |
SQLBase.int |
winsetup.dll |
|
2. Documentation
SQL Connectivity Recent Changes and Fixes.pdf
Whats New in SQL Connectivity Version 6.pdf
3. Help
SQL_Connectivity_Kits.htm
4. Pkg
cli.pkg |
cTableColumnFetchHelper.pkg |
db2_drv.pkg |
MSSqldrv.pkg |
odbc_drv.pkg |
sql.pkg |
5. Usr
DFErr003.dat
DFErr003.hdr
DFErr003.tag
Support
Data Access Worldwide offers no specific support for this installation process.
Support for Connectivity Kits will be included with your DataFlex license and will follow current support policies outlined on the companys website at http://www.dataaccess.com/resources/customer-support-1196.
If you have any questions, email support@DataAccess.com.
Copyright 2019, Data Access Corporation.