Connecting to MS SQL server from Java

hi ,I am trying to connect to MS SQL Server from Java (Jsp).Where can i get the driver fro connection and What will be the syntax for connection.Thanks in advance..
[192 byte] By [ninad_ka] at [2007-10-1 3:04:49]
# 1
You can get a free JDBC 2.0 driver from Microsoft, but it's quite buggy.I would recommend jTDS ( http://jtds.sourceforge.net/ ). It's a JDBC 3.0 implementation, much faster and way more stable. Mind you, I'm one of the developers.Alin,The jTDS Project.
SAfe13a at 2007-7-8 21:36:06 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

> You can get a free JDBC 2.0 driver from Microsoft,

> but it's quite buggy.

>

> I would recommend jTDS ( http://jtds.sourceforge.net/

> ). It's a JDBC 3.0 implementation, much faster and

> way more stable. Mind you, I'm one of the

> developers.

But other people not associated with it, seems to think it works pretty good too. Comments suggest that usually, and even perhaps always, better than the MS one.

jschella at 2007-7-8 21:36:06 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...