--------------------------- Debugger Exception Notification --------------------------- Project Project1.exe raised exception class EOleException with message '未指定的错误'. Process stopped. Use Step or Run to continue. --------------------------- OK Help ---------------------------报错截图 另外看了下 字段类型,oracle表这边基本上都是 char(38) date 和num 也没有别的类型了
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EOleException with message '未指定的错误'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------报错截图 另外看了下 字段类型,oracle表这边基本上都是 char(38) date 和num 也没有别的类型了
FileText.LoadFromFile('dms_1.TCANCELCUSTOMER.5723.text');
ADOQuery2:=TADOQuery.Create(nil);
ADOQuery2.ConnectionString:=self.Edit2.Text;
ADOQuery2.Close ;
ADOQuery2.ParamCheck:=false;
ADOQuery2.SQL.Text:='begin '+FileText.Text+' end;';
ADOQuery2.ExecSQL;那个文件里面就是500条insert语句