Frage

I've this query for view:

SELECT BATCH, BS.FIELD1, BS.FIELD2 
from BATCHES 
left join P_BATCH_SUMMARY(BATCH) BS on 1=1

It works fine with Firebird 2.5, but not not on Firebird 2.1. Is it possible to circumvent this limitation with FB2.1?

War es hilfreich?

Lösung

Given the fact that referencing selectable stored procedures inside views was introduced in Firebird 2.5 the only options you have are:

  1. Upgrade to Firebird 2.5
  2. Replace this view with an equivalent selectable stored procedure
  3. Replace usages of this view with the query itself
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top