Have got the same issue, code working properly on 11.04 but no way to
get it work on 12.04
#!/usr/bin/env python
import _mssql
conn = _mssql.connect(server='192.168.1.xxx:1433', user='linux',
password='linux', database='MYDB')
result = conn.execute_scalar("SELECT MediaLabel FROM T_MediaStatus")
print result
conn.close()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/918896
Title:
returns no data from SQL server
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pymssql/+bug/918896/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs