Page 1 of 1

ODAC 5.55.0.20

Posted: Thu 21 Jul 2005 15:11
by AVB
I have a TOraQuery with this SQL:

select name, name as client_name from client

In TOraQuery defined two fields NAME and CLIENT_NAME as TStringField
and Size = 100 both.

Then I change SQL in runtime to:

select name, to_char(null) as client_name from client

and get error with message:

"Size mismatch for field 'CLIENT_NAME', expecting: 100, actual: 1"

ORACLE 8.0.6, 9.2.0.5, Delphi 7

But this was work on ODAC 4.10.0.10
What's wrong?

Posted: Fri 22 Jul 2005 13:51
by Alex
This problem occurs on Delphi 7 with update pack 1 only. You can upgrade your Delphi with update pack 1.1 or remove update 1 from your IDE.