vikrant_kpr
asked on
How to connect to SQL Server
Hey Friends
I am trying to connect to SQL Server(precsely I am using MSDE v1.0) but i can connect using odbc only.
Can someone please suggest how to do the same with some sample code.
Also I have created an installer that installs latest jre on the target machine , is that jdbc driver is also installed by the same or i need to include some other class/driver so that my program works at even the machine on which jdk is not installed.
I am trying to connect to SQL Server(precsely I am using MSDE v1.0) but i can connect using odbc only.
Can someone please suggest how to do the same with some sample code.
Also I have created an installer that installs latest jre on the target machine , is that jdbc driver is also installed by the same or i need to include some other class/driver so that my program works at even the machine on which jdk is not installed.
Take a look here for sample code: http://javaalmanac.com/cgi-bin/search/find.pl?words=jdbc
You could also try this link: http://java.sun.com/docs/books/tutorial/jdbc/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.