This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I wrote a simple progam to connect to an sql server database and run a query but i'm getting an error "Exception in thread main Java.sql.sqlexception: No suitable driver. can anyone help me out. or do i have to create an odbc connection and use it for connecting to the sql server?
I assumed you are using oracle type 4 jdbc driver. You simply put classes12.zip or classes111.zip in you classpath and in some you have to rename this zip file to jar file and it will work. Hope it helps.
Joined: Apr 02, 2003
i'm trying to connect to sql server and im using the connection string that goes like this "jdbc:microsoft:sqlserver://<servername>:1433" do i need to download a special driver?