I am porting a project to ODAC and trying to convince a client to move off the BDE. However, I have a problem in a TOraQuery.
The following query returns the error message in the subject:
update aa.accpacarrecon
set amtpaid = (incvat * nvl(totalpaid,0) / :totalinvamt)
where rowid=:rowid
I have replaced the parameters in TOAD and the query works:
update aa.accpacarrecon
set amtpaid = (incvat * nvl(totalpaid,0) / 114193.69)
where rowid='AAAbEpAAMAAAAQjAAR'
The query also worked in the BDE.
Using Delphi 7.
ORA-01745 Invalid Host/Bind Variable Name: update with rowid
-
David Lipschitz
- Posts: 9
- Joined: Fri 23 Mar 2012 04:38
- Location: Cape Town, South Africa
- Contact:
-
David Lipschitz
- Posts: 9
- Joined: Fri 23 Mar 2012 04:38
- Location: Cape Town, South Africa
- Contact: