470,849 Members | 1,137 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Re: Can't use DB name with dashes using pymssql ???

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/troub...ting.html#dbid

</F>

Aug 13 '08 #1
0 861

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by tomakated | last post: by
6 posts views Thread by scottyman | last post: by
1 post views Thread by tshad | last post: by
1 post views Thread by James Su | last post: by
reply views Thread by Fredrik Lundh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.