On Tue, 07 Jan 2014 12:28:11 +0400, Alex <peshk...@mail.ru> wrote: >> So, historically, no, it's neither a workaround nor a hack. Parsing SQL >> comments ... that sounds like a hack to me. Adding yet another >> non-standard keyword when one already exists and does what you want >> doesn't appeal all that much either. > > So you suggest to use FIRST without number of records? I see almost no > problems with this approach - the only small question is weather btyacc > can handle such grammar well.
I don't like this, it would be a hint for a specific optimization abusing the syntax of something else. I'd prefer a general optimization hint clause that *contains* the optimization hint (and allows for future additions). Mark ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel