[DB-SIG] Opening a connection for a Microsoft SQL Server Database

Marcos Sánchez Provencio msanchez@grupoburke.com
30 Oct 2002 11:22:27 +0100

SQL server is not based on file accesses, but on services. You should
read the manual, really. The information you should provide is the name
odbc data source. To create the odbc data source, you should use the
ODBC manager, which asks you for the information needed.

El mar, 29-10-2002 a las 19:08, Tom Rabaut escribió:
> I'm having trouble getting a connection with my SQL Server Database. My w=
ebserver and script is sitting on my D drive and my database is on my C drive, how should I be referencing the database file? Currently my code looks something like this:
> 	connection = odbc.odbc('C:/Program File/..../database')
> The debugger is telling me that it cannot find the file. Do I need to inc=
lude the database extension? Am I referencing the C drive incorrectly. Thanks Tom
> _______________________________________________
> DB-SIG maillist  -  DB-SIG@python.org
> http://mail.python.org/mailman/listinfo/db-sig