Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to connect to MS SQL Server using java

  Asked By: Fabiana    Date: Apr 29    Category: Java    Views: 1547
  

How to connect to Microsoft SQL Server using Java ?
And also, I need to use API (in dll). I have successfully utilized the
dll with Delphi, but how to do it with Java ?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Adalwin Fischer     Answered On: Apr 29

There are two ways: First is by a standalone driver, or, by ODBC
datasource connection.

For test purpose you can try making an ODBC connection and connecting
through it, however, if your application would execute in remote
locations I prefer using Drivers. You can search for drivers also at
google, where many vendor implementations are available including
Microsoft.

 
Didn't find what you were looking for? Find more on How to connect to MS SQL Server using java Or get search suggestion and latest updates.




Tagged: