hi.. frnds....
My OS is Windows XP and I am using java 1.7 development environment. I have sql server 2000 installed on pc. I have downloaded sqljdbc 4.0 from microsoft website.
I am trying to connect java program with sql server 2000 through sqljdbc driver. But I have never done it yet before. I am not able to connect because there is something wrong in either the classpath setting of jdbc driver or in the configuration of sql server 2000.
I am new to connect a program to the database.
Please tell me the full step to connect a java application, classpath setting of sqljdbc driver, table and database configuration of sql server 2000 and also a java sample code to connect to the sql server 2000.
Thanks....
My OS is Windows XP and I am using java 1.7 development environment. I have sql server 2000 installed on pc. I have downloaded sqljdbc 4.0 from microsoft website.
I am trying to connect java program with sql server 2000 through sqljdbc driver. But I have never done it yet before. I am not able to connect because there is something wrong in either the classpath setting of jdbc driver or in the configuration of sql server 2000.
I am new to connect a program to the database.
Please tell me the full step to connect a java application, classpath setting of sqljdbc driver, table and database configuration of sql server 2000 and also a java sample code to connect to the sql server 2000.
Thanks....