•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 402,759 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,687 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 4693 | Replies: 2
![]() |
•
•
Join Date: May 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
First declare your URL (in string format of cours
Remember your URL is
1 a String
2 "jdbc:odbc:"+dataSourceName;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")//often the standard;
Connection con = DriverManager.getConnection(url,"username","password");
Statement stmt = con.createStatement();
this is as far as connection goes
Remember your URL is
1 a String
2 "jdbc:odbc:"+dataSourceName;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")//often the standard;
Connection con = DriverManager.getConnection(url,"username","password");
Statement stmt = con.createStatement();
this is as far as connection goes
•
•
•
•
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")//often the standard;
Case Sensitive
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- problem in installing jdbc... (Java)
- hi,urgent-jdbc doubt (MS SQL)
- Can´t make JDBC connection to MS SQL from home? (MS SQL)
- JDBC connection (Java)
Other Threads in the Java Forum
- Previous Thread: Compilation problem
- Next Thread: Class Passing and Returning Arrays


Linear Mode