all groups > sql server odbc > february 2004 >
You're in the

sql server odbc

group:

JSP connection string to SQL 2000


JSP connection string to SQL 2000 JasonHuang8888
2/18/2004 5:58:18 PM
sql server odbc:
Hi,

What will be the connection string in the JSP to SQL
Server 2000?
Thanks.

Re: JSP connection string to SQL 2000 Chris Price
2/19/2004 12:05:52 PM
If you are using MS JDBC Driver try the following:

jdbc:microsoft:sqlserver://hostname:1433;DATABASENAME=YourDBName;SelectMethod=cursor

The SelectMethod=cursor parameter is important to allow multiple
statements per connection.


If you are using the ODBC/JDBC bridge try:

jdbc:odbc:YourOdbcDsnName


Regards,
Chris


[quoted text, click to view]
AddThis Social Bookmark Button