What ODBC Driver is compatible with SQL SERVER 2017 to configure system DSN? - sql-server-2017

Currently, we are using ODBC Driver 13 to configure system DSN for SQL Server 2016 database. We are going to upgrade system from SQL Server 2016 to SQL Server 2017. We are not able to upgrade system using ODBC Driver 13 with SQL Server 2017. It seems ODBC driver 13 is having support upto SQL Server 2016.
So we are looking for higher version of ODBC driver.
Thanks,
Santosh.

Related

SQL Server Database Vesion

I have a problem regarding a SQL Server database.
The error message is
Cannot be opened because it is version 852. This server supports version 782 and earlier. A downgrade path is not supported.
I tried everything, updating via Visual Studio 2015, downloading SQL Server 2016, installing SSMS, but nothing changed the server's version.
I need to somehow change the server's version so it will attach the the database successfully.
Please help!
You are attempting to attach SQL Server 2016 database files to SQL Server 2014. This is not supported.
Your only solution is to upgrade SQL Server from 2014 to 2016. Note, this is the database engine, not management studio.
Here is a list of all SQL Server internal database version numbers: http://sqlserverbuilds.blogspot.com/2014/01/sql-server-internal-database-versions.html

Can I Install and use OLE DB for DB2 provider V 4.0 version 9.0.1356.0 on a Client Machine without installing Microsoft SQL Server 2012 or 2008 R2

I develop a VB.Net application who use OLE DB Provider for DB2 to get and send data from/to distance DB2 database.
Do I have install SQL Server 2012 or 2008 R2 and OLE DB Provider for DB2 for each client machine for an executable application VB.Net. Is there any solution to avoid SQL Server 2008R2 or 2012 installation when I install the provider?
If not what is the necessary feature of SQL Server 2012 or 2008R2 to install and use DB2 V 4.0 version 9.0.1356.0?
Why not use the OLEDB provider from IBM?
You don't say what platform and version of DB2, that will make a difference in where you find the appropriate driver from IBM.

Spring Tool Suite - Setting up Database Connection to MS SQL Server 2012

I am trying to create a new connection profile from within the Database Development perspective in Spring Tool Suite version 3.7.0. I need to connect to SQL Server 2012. In the dialog box where I need to specify the driver and connection details, I do not have an option of adding a driver jar and connection URL for MS Sql server 2012. The list goes only upto sql server 2008. Any thoughts on how I could connect to sql server 2012?
Thanks!

Can't Attach Northwind database as it's version 661. Server supports 612 and earlier [duplicate]

When trying to attach a database file to:
Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64) Sep 16 2010 19:43:16 <X64> (Build 7600: )
I get this error message:
The database cannot be opened because
it is version 661. This server
supports version 662 and earlier. A
downgrade path is not supported.
Any idea why? and how to solve it?
SQL Server 2008 databases are version 655. SQL Server 2008 R2 databases are 661. You are trying to attach an 2008 R2 database (v. 661) to an 2008 instance and this is not supported. Once the database has been upgraded to an 2008 R2 version, it cannot be downgraded. You'll have to either upgrade your 2008 SP2 instance to R2, or you have to copy out the data in that database into an 2008 database (eg using the data migration wizard, or something equivalent).
The message is misleading, to say the least, it says 662 because SQL Server 2008 SP2 does support 662 as a database version, this is when 15000 partitions are enabled in the database, see Support for 15000 Partitions.docx. Enabling the support bumps the DB version to 662, disabling it moves it back to 655. But SQL Server 2008 SP2 does not support 661 (the R2 version).
To clarify, a database created under SQL Server 2008 R2 was being opened in an instance of SQL Server 2008 (the version prior to R2). The solution for me was to simply perform an upgrade installation of SQL Server 2008 R2. I can only speak for the Express edition, but it worked.
Oddly, though, the Web Platform Installer indicated that I had Express R2 installed. The better way to tell is to ask the database server itself:
SELECT ##VERSION

How to connect to MSSQL 2000 from PHP 5.3 and up

I have a legacy business application built on MS SQL Server 2000. I have some webbased utilities that access this database using PHP 5.2 with mssql extension.
I need to reinstall the web server, and I looked forward to upgrade to PHP 5.4. Unfortunately, the mssql extension is not supported on PHP 5.3 and newer. There is the sqlsrv extension available form Microsoft, but the description says that it is only supported for accessing SQL server 2005 and up.
How can I connect to my SQL Server 2000 from PHP 5.4 ? Did anyone already solve this issue ?
This is a really complicated issue. Here are the details of (in)compatibilities so someone else might spend less time searching and trying.
PHP extension sqlsrv from Microsoft
sqlsrv exists in two (+ an unofficial) versions, they are only compatible with 32-bit PHP. There is currently no version for 64-bit PHP.
sqlsrv version 2.0 is compatible with PHP 5.2.4 to 5.3.x and SQL Native client 2008 R2 to connect to Microsoft SQL Server 2000, 2005, or 2008.
sqlsrv version 3.0 is compatible with PHP 5.3.0 to 5.4.x and SQL Native client 2012 to connect to Microsoft SQL Server 2005, 2008, 2008 R2, and SQL Server 2012.
no official version currently supports PHP 5.5
There is an unofficial version of SQLSRV 3.0 on Rob's Area that does not require SQL Native client 2012 but should run with previous SQL Native clients. I didn't yet try this one.
ODBC extension of PHP
An other way to access SQL Server 2000 with PHP 5.4 is through the odbc extension. It is possible to connect using three ODBC drivers for SQL Server 2000:
SQL Server ODBC client version 6.00 that comes preinstalled with Windows 2008 R2
SQL Server Native Client 9.0 (SQL Server 2005 feature pack)
SQL Server Native Client 10.0 (SQL Server 2008 R2 feature pack)
The code for the connection for each of those ODBC Drivers:
$connection_string = 'DRIVER={SQL Server};SERVER=mbsql;DATABASE=vg1';
$connection_string = 'DRIVER={SQL Native Client};SERVER=mbsql;DATABASE=vg1';
$connection_string = 'DRIVER={SQL Server Native Client 10.0};SERVER=mbsql;DATABASE=vg1';
$connection = odbc_connect( $connection_string, $user, $pass );
These connections work with PHP 32 bit and 64 bit. I din't yet test which one is the best.