> 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
You are asking for the system to evaluate the *intent* of logic. That is completely outside the purview of any application environment that I know. The only thing that a system can check/enforce is the correctness of the code, not to check whether the developer has 2 brain cells. Sean