delphi+Oracleprocedure TForm1.FormCreate(Sender: TObject);
begin
pass:='manager';
user:='system';
servername:='absdate';
mycon:='Provider=MSDAORA.1;Password= '+pass+ ';User ID= '+user+ ';Persist Security Info=True; '+ 'Data Source= '+servername;
con1.ConnectionString:=mycon;
con1.Connected:=true;
if con1.Connected then
begin
qry1.Close;
qry1.SQL.Clear;
qry1.SQL.Text:='select * from MZCS';
qry1.Open;
end;
end;RUN后出现:---------------------------
Project1
---------------------------
ORA-00942: 表或视图不存在.
---------------------------
确定
---------------------------我如何处理?? 谢谢赐教! 注 :表 MZCS 是以“sys”用户名创建的
begin
pass:='manager';
user:='system';
servername:='absdate';
mycon:='Provider=MSDAORA.1;Password= '+pass+ ';User ID= '+user+ ';Persist Security Info=True; '+ 'Data Source= '+servername;
con1.ConnectionString:=mycon;
con1.Connected:=true;
if con1.Connected then
begin
qry1.Close;
qry1.SQL.Clear;
qry1.SQL.Text:='select * from MZCS';
qry1.Open;
end;
end;RUN后出现:---------------------------
Project1
---------------------------
ORA-00942: 表或视图不存在.
---------------------------
确定
---------------------------我如何处理?? 谢谢赐教! 注 :表 MZCS 是以“sys”用户名创建的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货