SQLException trying to create connection (SQLSERVER)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Issic_Levy
Posted On:   Monday, March 15, 2004 10:16 AM

hi,
this is exactly what I wrote:

String driverName = "sun.jdbc.odbc.JdbcOdbcDriver";
Class.forName(driverName);

now, when I try to create the connection I get the above exception, can anyone tell me exactly what I have to write in order to create the connection using sql server 2000 on my home pc in order to create the connection,
I tried:

conn = DriverManager.getConnection("jdbc:odbc:[DataBase Name]");

About | Sitemap | Contact