I have TOracleDataSet which has sql:
SQL[0] = 'select * from ad.VIEW_MT_SUB_VIEW'
SQL[1] = 'where numurs = 'xxx''
field numurs is of type varchar2(7)
in application i replace SQL[1] as needed.
usually all works fine.
but now if SQL[1] := ' where numurs = ''9453252''' then opening DataSet i get Ora-01722:invalid number error.
in PL/SQL i get "no rows selected" instead of Ora-01722.
so i assume that either DOA has some bug here or something else...
my setup: w2k/sp3/delphi5 with D5EntUpdate.exe applied and DOA 3.4.6.4
[This message has been edited by MMI (edited 07 March 2003).]
SQL[0] = 'select * from ad.VIEW_MT_SUB_VIEW'
SQL[1] = 'where numurs = 'xxx''
field numurs is of type varchar2(7)
in application i replace SQL[1] as needed.
usually all works fine.
but now if SQL[1] := ' where numurs = ''9453252''' then opening DataSet i get Ora-01722:invalid number error.
in PL/SQL i get "no rows selected" instead of Ora-01722.
so i assume that either DOA has some bug here or something else...
my setup: w2k/sp3/delphi5 with D5EntUpdate.exe applied and DOA 3.4.6.4
[This message has been edited by MMI (edited 07 March 2003).]