I have a problem using parameters with TSQLQuery and dbexpoda.dll when I connect to Oracle via SQL*Net.
When I execute the query and the parameter is last (or first) then everything is ok. But when I'm positioning the parameter as second then I'm getting Oracle Error 1036.
I use Delphi 7, Oracle
I'm using for debugging purposes a table TEST1 with 3 columns:
C varchar(20), N NUMERIC, D Date.
When I'm using "INSERT INTO TEST1 (C,D,N) VALUES ('C2',19.3,:D)", I supply the parameter and everything is OK.
When I'm using "INSERT INTO TEST1 (C,D,N) VALUES ('C2',:D,19.3)", I supply the parameter and I'm getting ORA-1036 error message.
When I work with OCI then everything is OK.