如题,请问高手如何解决
解决方案 »
- 在delphi中如何使dbgrid插入行首项插入后自动获得焦点???
- 很简单的一段程序代码,我是初学者,大家帮我找找错误的地方
- 有关pointer类型的数据的问题?
- 想学下SQL,求教
- 如何动态调用DLL,还有就是如公何调用VB写的DLL??
- @@@@@好书值得看 《Delphi精要》
- 在录音程序中如何操作vox格式的文件,像录制成wav一样。
- 请问:如何把当前桌面复制,并保存到文件中。(复制相当于按 Print Screen键)
- Delphi可不可以操作Cookie?
- 怪!怪!怪!这样的sql语句为什么会出错???请高手关注:)
- 几行C++代码如何翻译成delphi??
- dataset的组件为何会有datasourse属性?
OraSession.Password := Password;
OraSession.Server := IP + ':' + PORT + ':' + SID;
OraSession.ConnectString := Account + '/' + Password + '@' + IP + ':' + PORT + ':' + SID;OraSession.Connect;//查询例子
With TOraQuery.Create(Application) do
Begin
AutoCommit := False;
FetchAll := True;
Session := OraSession; Close;
Sql.Clear;
Sql.Add('select * from dual');
Open;
End;个人从未发生过ToraQuery/TOraStoredproc等对象自动关闭Session的