I found a curious error in UniDAC and it's not easy to explain.
First my situation: I use Delphi 7 with UniDAC 3.50.0.13 and my software has to work with Interbase XE, Oracle 8.0.5 and Sql Server 2008 RC2.
I made a very strong (and long) sql-command and it works without errors with my 3 databases and TUniConnection.Connect. Than I put the code into a DLL and changed to TUniConnection.AssignConnect and suddenly the command failed with InterBase. It still works with Orcale and SQL-Server.
Here is an example of the code that doesn't works:
Code: Select all
select MYFIELD1, MYFIELD2, 1.0 as MYFIELD3, MYFIELD4 from MYTABLECode: Select all
Dynamic SQL Error
SQL error code = -104
Invalid command
Data type unknownIs there any parameter I have to set that AssignConnect works with InterBase XE?
Thanks in advance for any help.
Kind regards,
Gerd Brinkmann
invent GmbH