Can't use DB name with dashes using pymssql ???
Fredrik Lundh
fredrik at pythonware.com
Wed Aug 13 18:39:37 EDT 2008
Samuel Morhaim wrote:
> I believe there is a bug in Python.. _mssql ... I am not too familiar
> with Python yet, but after adding several breakpoints and watching the
> variable, the last step of pymssql.py is
>
> # open the connection
> con = _mssql.connect(dbhost, dbuser, dbpasswd)
>
>
> con.select_db(dbbase)
> At this point the contents of dbbase is "Gcare4UI-B6_3_dev" (no
> quotes)... however, the immediate error is that
> "Gcare4UI" does not exist.
reading the documentation might help:
http://pymssql.sourceforge.net/troubleshooting.html#dbid
</F>
More information about the Python-list
mailing list