select distinct ownerId, ownerType from tbl_SPL_Opportunities where autoIncomeAmt = 'Y' and incomeAmt = 0 and ownerId > 1
#Now()#
#_ownerId# #_ownerType# #qmd_updatedOpportunities.recordCount#
#Now()#