operatorPriorities log {ts '2025-05-06 13:46:31'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 13:46:37'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:17:52'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:17:59'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:18:05'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:18:08'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:18:10'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:19:45'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:22:19'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:25:35'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:25:37'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:25:39'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR {ts '2025-05-06 14:25:43'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with priorities as ( select cp.priorityId, cp.priorityCode, cp.profileRequirementConfig, cp.callFreqThresholdWks from tbl_OPR_CLientPriorities cp with (nolock) where ownerId = @ownerId and ownerType = @ownerType and active = 'Y' ) , priorities_mappedData as ( select * from priorities ) , priorities_preData as ( select * from priorities_mappedData with (nolock) where [priorityCode] = '?' ) , priorities_data as ( select * from priorities_preData ) , priorities_return as ( select * from priorities_data where 1 = 1 order by priorityCode offset 0 rows fetch next 10000000 rows only ) , priorities_result as ( select ( select count(*) from priorities_data ) as totalCount, ( select * from priorities_return for json auto, include_null_values ) as data ) select * from priorities_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 1644 -- MFR