문제

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?

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top