- 论坛徽章:
- 0
|
>>> cs.execute("select * from [admin]")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\Lib\site-packages\pymssql.py", line 120, in execute
self.executemany(operation, (params,))
File "C:\Python24\Lib\site-packages\pymssql.py", line 146, in executemany
raise DatabaseError, "internal error: %s (%s)" % (self.__source.errmsg(), se
lf.__source.stdmsg())
pymssql.DatabaseError: internal error: SQL Server message 4004, severity 16, sta
te 1, line 1:
不能用 DB-Library(如 ISQL)或 ODBC 3.7 或更早版本将 ntext 数据或仅使用 Unicode
排序规则的 Unicode 数据发送到客户端。
DB-Lib error message 10007, severity 5:
General SQL Server error: Check messages from the SQL Server.
*号的问题...用coun(*)及[字段]可以通过...如何处理?? |
|