ZupdateSQL demanding unnecessary columns
Posted: 30.09.2008, 14:01
Hi,
I've noticed that ZUpdate demands fields from all tables involved in a query and not the fields informed on custom SQLs.
Example:
TQuery.SQL = 'SELECT a.*, b.* FROM a INNER JOIN b USING(id)';
I create custom SQLs on a zupdate related to this query to chage only the table "a".
When I try to Insert in the table "a" using the Zupdate, it return an error, demanding fields from table "a" AND "b".
I believe that is a bug. On prior versions the behavior was different.
Thanks for your job creating zeos.
(Sorry for my poor english)
I've noticed that ZUpdate demands fields from all tables involved in a query and not the fields informed on custom SQLs.
Example:
TQuery.SQL = 'SELECT a.*, b.* FROM a INNER JOIN b USING(id)';
I create custom SQLs on a zupdate related to this query to chage only the table "a".
When I try to Insert in the table "a" using the Zupdate, it return an error, demanding fields from table "a" AND "b".
I believe that is a bug. On prior versions the behavior was different.
Thanks for your job creating zeos.
(Sorry for my poor english)