Page 1 of 1

How to parse ALL table aliases, even if multiple queries are provided

Posted: 20.09.2022, 20:41
by aehimself
Just an fyi, if someone is interested. I wrote a descendant of TZGenericStatementAnalyser which can parse all table aliases, even if multiple SQL commands are provided.

For the solution, you can visit this topic on DelphiPraxis, where the reason behind is also explained.

@ Jan,
If you think it has a place in TZGenericStatementAnalyser, this one method can also be added to the base class. If needed I can rework it to be D7 compatible.

Re: How to parse ALL table aliases, even if multiple queries are provided

Posted: 21.09.2022, 09:00
by marsupilami
Hello aehimself,

sure - we can include that. We just would need some documentation on it ;)

Compatibility to Delphi 7 would be grat :)

Best regards,

Jan

Re: How to parse ALL table aliases, even if multiple queries are provided

Posted: 21.09.2022, 18:12
by aehimself
Fresh, ripe pull request available for picking! :)

Re: How to parse ALL table aliases, even if multiple queries are provided

Posted: 27.09.2022, 17:32
by marsupilami
Merged. Sorry for the delay.