Subject Re: [firebird-support] Is this a bug of Firebird?
Author Walter R. Ojeda Valiente
Yes, but I can not know the value of the column X.ALU_NOMBRE

And the idea, of course, is know that value, that's why it appears in the FOR SELECT. If not, I can do nothing with X.ALU_NOMBRE

Greetings.

Walter.



On Wed, Feb 8, 2017 at 12:02 PM, Dimitry Sibiryakov sd@... [firebird-support] <firebird-support@yahoogroups.com> wrote:
08.02.2017 16:55, 'Walter R. Ojeda Valiente' sistemas2000profesional@gmail. com
[firebird-support] wrote:
> Of course, the fault is of the programmer, but it can be detected at compilation time.

   Why? It is expanded into code like this:

FOR SELECT ALU_NOMBRE, ALU_APELLD .... AS CURSOR X DO
   lcName = X.ALU_NOMBRE;
   lcName = X.ALU_APELLD;

   Pointless, but valid.

--
   WBR, SD.


------------------------------ ------

------------------------------ ------

++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++ ++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/ resources/documents/

++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++ ++++++
------------------------------ ------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-support-digest@ yahoogroups.com
    firebird-support-fullfeatured@ yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscribe@ yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/ us/yahoo/utos/terms/