Case When product_Code like '%0000' then STATE_DUES
When product_code like 'CHAPT/%' and product_code not like '%0000' Then Local_dues
Else '9999'
End
where billed.ID = '123456'
Cheers
ChrisM
“Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw