我试图使用 pymssql 创建一个数据库,但我收到了这个错误。
cur.execute("CREATE DATABASE %s;" % self.getsql('dbname'), conn)
给
*** OperationalError: (226, 'CREATE DATABASE statement not allowed within multi-
statement transaction.DB-Lib error message 226, severity 16:\\nGeneral SQL Serve
r error: Check messages from the SQL Server\\n')
这是什么意思 ??