import pymssql
import sys
import os
reload(sys)
sys.setdefaultencoding(‘utf-8‘)
os.environ[‘NLS_LANG‘] = ‘SIMPLIFIED CHINESE_CHINA.UTF8‘
class MSSQL:
原文地址:https://www.cnblogs.com/whatarey/p/10199081.html
时间: 2024-10-14 05:18:05
import pymssql
import sys
import os
reload(sys)
sys.setdefaultencoding(‘utf-8‘)
os.environ[‘NLS_LANG‘] = ‘SIMPLIFIED CHINESE_CHINA.UTF8‘
class MSSQL:
原文地址:https://www.cnblogs.com/whatarey/p/10199081.html