phocai
Member²
I am using DOA 3.4.6.4 for Delphi 7 on Windows 2000 SP3 with Oracle 8i.
My TOracleDataSet has a select statement that creates a new record based on an existing record but containing new data. My Delphi app needs to access and use this record without changing it. Afterwards, I need to insert this new record into the Oracle table.
My question is: can I insert the contents of the TOracleDataSet directly into the Oracle table without re-executing the original select statement? My select statement contains a number of package calls and executing it twice seems inefficient. Same goes for inserting first and then re-querying the database to find the record I just inserted. I have the record, I just want to put it into the table.
Many thanks.
My TOracleDataSet has a select statement that creates a new record based on an existing record but containing new data. My Delphi app needs to access and use this record without changing it. Afterwards, I need to insert this new record into the Oracle table.
My question is: can I insert the contents of the TOracleDataSet directly into the Oracle table without re-executing the original select statement? My select statement contains a number of package calls and executing it twice seems inefficient. Same goes for inserting first and then re-querying the database to find the record I just inserted. I have the record, I just want to put it into the table.
Many thanks.