使用query,storeProc,clientDataSet控件都可以接收數據集。
query.sql.clear;
query.sql.add('select * from pkgName.ProName(...)');
query.open();
query.sql.clear;
query.sql.add('select * from pkgName.ProName(...)');
query.open();
用 BDE 开发 Oracle 是最好的方法... (性能高,稳定)
adostoredProc1.procedurename := 'procedure1';
adostoredproc1.open;
ODAC也不错只是不能使用于大型应用。
ADO也不好,我至今为止还不知道如果用ADO获得返回值是有表的存储过程。http://www.itpub.net/showthread.php?s=&threadid=146170
还像是不行欧!!