Subject | Re: Subselect error |
---|---|
Author | Svein Erling Tysvær |
Post date | 2005-09-05T14:04:40Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies" wrote:
irrelevant noise that he failed to spot:
LEFT JOIN ParametrosContabeis PC ON NV.OpFis_Codigo =
PC.OpFis_Codigo
AND NV.OrFis_Codigo =
PC.OrFis_Codigo)
doesn't add anything to your query since you do not refer to the right
table of the left join at all (neither in the SELECT, nor in the WHERE
clause. However, I haven't heard that Firebird barks when feeding it
irrelevant joins, so your main problem is probably something else.
Set
>> In the interbase, my select worked, now doesnt´t work.Sensible advice from Martijn, but you should also remove the
> Change it until "it works" again then.
> Or perhaps, tell us the error message so we can make an educated
> guess.
irrelevant noise that he failed to spot:
LEFT JOIN ParametrosContabeis PC ON NV.OpFis_Codigo =
PC.OpFis_Codigo
AND NV.OrFis_Codigo =
PC.OrFis_Codigo)
doesn't add anything to your query since you do not refer to the right
table of the left join at all (neither in the SELECT, nor in the WHERE
clause. However, I haven't heard that Firebird barks when feeding it
irrelevant joins, so your main problem is probably something else.
Set