how to establish a connect to the sql server dabatase using JDBC

xue yh xueowngoal at yahoo.com
Mon Aug 27 23:31:23 EDT 2001


thx!
--- Bob Kline <bkline at rksystems.com> wrote:
> On Sun, 12 Aug 2001, xue yuhao wrote:
> 
> > I have a data source "learning" in SQL Server.
> What is the syntax to
> > connect to this database? My SQL Server is
> installed under the
> > directory C:\Mssql7. Is it required to configure
> the system DSN
> > before using it?
> 
> System DSNs are used by ODBC.  The JDBC driver does
> not use ODBC.  It
> connects directly to the SQL Server using TCP/IP
> sockets.  Please read
> the README file[1] for the driver for the syntax
> used for the URL when
> connecting to the server.  You can also find sample
> code in the FAQ[2]
> document which can be easily adapted for testing the
> connection to your
> server.
> 
> [1]
>
ftp://freetds.internetcds.com/pub/freetds_jdbc/README
> [2] http://www.freetds.org/faq.html#jdbc%20test
> 
> -- 
> Bob Kline
> mailto:bkline at rksystems.com
> http://www.rksystems.com
> 
> 
> ---
> You are currently subscribed to freetds as:
> [xueowngoal at yahoo.com]
> To unsubscribe, forward this message to
$subst('Email.Unsub')


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



More information about the FreeTDS mailing list