Subject | Re: [ib-support] Error: "No current record for fetch operation" |
---|---|
Author | Woody |
Post date | 2002-08-29T15:04:49Z |
> Martin, Woody, Helen.select
>
> I saw your messages; thank you. I begun this morning to play with the
> statement of the views where I get this error. I have 5 views and in 2 offine
> them I was getting this message. What I did is change the order of table
> names in the FROM segment of the select.... and funny thing: it worked
> ... the error message did not appear any more. In the example I sent you,I
> made the change:"from"
>
> it was:
> FROM Z_ELEMUSUARIO, Z_GRUPOUSUARIOS_V
>
> I changed it to:
> FROM Z_GRUPOUSUARIOS_V, Z_ELEMUSUARIO
>
> and worked fine. Is there an SQL rule that specifies the order of the
> in a select statement? I'm happy because now its working, but I'd like toAFAIK, there is no rule about the order of table names, only that you should
> know this change was the solution ...
not (and can't in FB) use ambiguous fields. However, as Martijn (or someone,
I can't remember) pointed out in an earlier reply, you have the same table
named in the first implicit join and again in the LEFT OUTER join statement.
That may or may not have something to do with it.
Woody (TMW)
----------------------
"To invent, you need a good imagination and a pile of junk."
Thomas Edison