any ideas why I can't use this update statement?
update sb_void_offs
set offcount = blah
(Select pro_propref, count (oof_refno) blah
FROM sb_void_offs, organisation_offers
WHERE pro_refno = oof_pro_refno(+)
AND oof_offer_date BETWEEN voiddate AND letdate
group by pro_propref
)
cheers
Sam
update sb_void_offs
set offcount = blah
(Select pro_propref, count (oof_refno) blah
FROM sb_void_offs, organisation_offers
WHERE pro_refno = oof_pro_refno(+)
AND oof_offer_date BETWEEN voiddate AND letdate
group by pro_propref
)
cheers
Sam