insert操作的时候,抛出ORA-00911:无效字符的错误信息?oracle8i simpledateset.excute;后抛出ORA-00911:无效字符的错误信息,但是我把insert语句拿到sql plus中去执行就没有问题?这是为什么? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 insert into t_hwfl_1(t_hwdm,t_hwmc) values('111','11111');t_hwdm,t_hwmc这两个字段都是varchar2的 str:string;... str := 'insert into t_hwfl_1(t_hwdm,t_hwmc) values('+quotedstr('111'); str := str+','+quotedstr('11111')+')';....adoquery1.sql.add(str);....即可。 fansnaf(投币一元),你说的还是不好用我用的是dbexpressinsert into t_hwfl_1(t_hwdm,t_hwmc) values(:hwdm,:hwmc)DM.sys_inst_hwflSDS.active:=false;DM.sys_inst_hwflSDS.DateSet.params.ParamByName('hwdm').AsString:=self.ehwdm.text;DM.sys_inst_hwflSDS.DateSet.params.ParamByName('hwmc').AsString:=self.ehwmc.text;DM.sys_inst_hwflSDS.Excute;执行后抛出EDatabaseError错误,信息是:ORA-00911:无效字符奇怪死了 MM求救7(老问题) 使用webbrowser控件如何更改右键菜单项或者??? 自由软件招兵:开发一个桌面版wiki 怎么判断EDIT文本框中输入的是数字 关于intstack的问题! 如何创建记录文件 为什么这样对我!!!!!!!!!!!!!!!!为什么~~~!!!!!!!!!!!!!!! 谁使用过<<你好协和办公系统>>,能否回答我得一个小小的问题??!!!(答对全分奉上) 百分相赠!ADO控件使用疑问? 使用adoconnection时,在程序中如何设定其connectstring 急需不规则形状按钮空间(圆形和圆角矩形) Automation事件
...
str := 'insert into t_hwfl_1(t_hwdm,t_hwmc) values('+quotedstr('111');
str := str+','+quotedstr('11111')+')';....
adoquery1.sql.add(str);
....
即可。
我用的是dbexpress
insert into t_hwfl_1(t_hwdm,t_hwmc) values(:hwdm,:hwmc)DM.sys_inst_hwflSDS.active:=false;
DM.sys_inst_hwflSDS.DateSet.params.ParamByName('hwdm').AsString:=self.ehwdm.text;
DM.sys_inst_hwflSDS.DateSet.params.ParamByName('hwmc').AsString:=self.ehwmc.text;
DM.sys_inst_hwflSDS.Excute;
执行后抛出EDatabaseError错误,信息是:ORA-00911:无效字符奇怪死了