p56, Dir.: Input, Type: adBSTR, Size: 4, Value: "2.23", Precision: 0, NumericScale: 0]
回答
收藏

p56, Dir.: Input, Type: adBSTR, Size: 4, Value: "2.23", Precision: 0, NumericScale: 0]

c
chuchen
2023-11-16 09:43·浏览量:281
c
chuchen
发布于 2023-11-16 09:43281浏览

在影刀中导入数据表格中的数据到数据库 报错了

 p56, Dir.: Input, Type: adBSTR, Size: 4, Value: "2.23", Precision: 0, NumericScale: 0]
Traceback (most recent call last):
File "<string>", line 726, in _execute_command
File "<COMObject ADODB.Command>", line 3, in Execute
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.25\python\lib\site-packages\win32com\client\dynamic.py", line 287, in _ApplyTypes_
result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args)
pywintypes.com_error: (-2147352567, '发生意外。', (0, 'Microsoft OLE DB Provider for ODBC Drivers', "[MySQL][ODBC 8.0(w) Driver][mysqld-8.0.35]Column count doesn't match value count at row 1", None, 0, -2147467259), None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.25\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.25\python\lib\runpy.py", l

收藏
全部回答(1)
最新
发布回答
回答