473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to connect java application to sql server 2000 ?

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....
Nov 10 '11 #1
0 2368

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Julie | last post by:
We have forms written in Visual Basic 6.0. They were previously written for an Access database which was moved to SQL Server 2000. Here's the connect string I used:...
0
by: Hong Kong Is A Good Place | last post by:
how can i connect my sql server 2000 to Adaptive Sybase Server 11.5 and 12.0? Thx.
2
by: LB | last post by:
Anyone encounter differences between SQL2K EE and SQL2K Dev Editon? FAILS ----- Machine_A <-- JDBC --> Machine_A\SQL2K_Dev_Ed..db Error: "com.inet.tds.SQLException: Connection refused" ...
1
by: Kodo | last post by:
topic. Can the VB.NET standard 2003 version connect to SQL server 2000 from within the IDE. I read reviews on the software that said that it couldn't. I would like to confirm this. Here is a...
1
by: yoshitha | last post by:
Hi below is the connection string <appSettings> <add key="connectionstring" value="server=localhost;uid=sa;pwd=thanks;database=schoolDb"/> </appSettings> when i use loclhost or my system ip...
1
by: priston | last post by:
hi everyone, I have been using WAMP to develop PHP applications which uses Mysql as database.Now I want to use MSSQL SERVER 2000 and IIS as web server. How can I do this? What are the configurations...
3
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Last week I asked a question about connection to database from client machine (developer machine). I have changed the database security setup for "SQL Server and Windows" under (local)Windows NT...
8
by: jojo41300000 | last post by:
Hi, I have a problem with database connection to SQL server 2000 from ASP.NET. When I try to connect, it give me the errors. But, When I try to connect to SQL SERVER 2005. It works fine. ...
2
by: varunkumarid | last post by:
Hai to all, i am new to VB.net 2005, I have difficult to connect the SQL server 2000 to VB.net 2005... If You know how to connect the SQL 2000 and VB.net 2005,please Insist to me Quickly....
4
by: Mohammed Seidu | last post by:
Can someone help me with the connection string for connecting to sql server 2000 on a machine named 'pserver'? I don't know what I am doing wrong but I can connect without problem from my local...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.