|
$Conn = ObjCreate("ADODB.Connection")
$Conn.open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=TRADE;uid=sa;pwd=××××;")
$Conn.Execute("update tsysparameter set L_SERIAL_NO = 99999 where L_SERIAL_NO = 60766")
这个是我自己写的,但是,报错:
>"D:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "F:\AutoTest\script\test.au3"
F:\AutoTest\script\test.au3 (6) : ==> The requested action with this object has failed.:
$Conn.open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MOUFENGQIONG\TRADE;uid=sa;pwd=whjmfq;")
$Conn.open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MOUFENGQIONG\TRADE;uid=sa;pwd=whjmfq;")^ ERROR
>Exit code: 1 Time: 0.313
哪位大虾帮忙指导一下,哪里出错了呢 |
|