My Oracle Support Banner

Java Stored Procedure fails to connect to MS SQL Server 2008 (Doc ID 1477952.1)

Last updated on DECEMBER 03, 2019

Applies to:

Microsoft JDBC Drivers - Version Other to Other
Information in this document applies to any platform.


A Java Stored Procedure that registers the MS JDBC driver (Class.forName("")) and connects to MS SQL Server 2008 using the following connection url:


fails with: 

"The server version is not supported. The target server must be SQL Server 2000 or later."


No issue with SQL Server 2000 and 2005.

Problem only happens when attemping to connect to MS SQL 2008


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.