TOraQuery, additional parameters during INSERT
Posted: Tue 12 Feb 2013 12:24
Hi
Is it possible to pass parameter other than column name during INSERT into database table via TOraQuery? I used 'SQL Generator' (one of sheets of TOraQuery Editor) to prepare stored procedures for INSERT, UPDATE, etc. where all parameters equal column names in database table. When I tried to add another parameter to these stored procedures, then during execution I received error 'Project raised exception class EDatabaseError with message 'Not found field corresponding parameter''. Maybe it's possible somehow via TUpdateSQL + TOraSQL.
I use ODAC 8.1.4.
Is it possible to pass parameter other than column name during INSERT into database table via TOraQuery? I used 'SQL Generator' (one of sheets of TOraQuery Editor) to prepare stored procedures for INSERT, UPDATE, etc. where all parameters equal column names in database table. When I tried to add another parameter to these stored procedures, then during execution I received error 'Project raised exception class EDatabaseError with message 'Not found field corresponding parameter''. Maybe it's possible somehow via TUpdateSQL + TOraSQL.
I use ODAC 8.1.4.