operatorPriorities log {ts '2025-01-08 21:02:04'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:07'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:09'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:11'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:11'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:12'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:13'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:14'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:15'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:16'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:17'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:18'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02: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 -- 973564 -- CHO {ts '2025-01-08 21:02: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 -- 973564 -- CHO {ts '2025-01-08 21:02:20'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:21'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:22'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:23'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:24'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:25'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:26'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:27'} 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 -- 973564 -- CHO {ts '2025-01-08 21:02:28'} 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 -- 973564 -- CHO {ts '2025-01-08 21:03: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 -- 973564 -- CHO {ts '2025-01-08 21:03:09'} 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 -- 973564 -- CHO {ts '2025-01-08 21:03: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 -- 973564 -- CHO {ts '2025-01-08 21:08:33'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08: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 -- 973564 -- CHO {ts '2025-01-08 21:08:41'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08:44'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08:47'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08:51'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08:54'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08:57'} 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 -- 973564 -- CHO {ts '2025-01-08 21:08: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 -- 973564 -- CHO {ts '2025-01-08 21:09:13'} 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 -- 973564 -- CHO {ts '2025-01-08 21:09:17'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10: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 -- 973564 -- CHO {ts '2025-01-08 21:10:24'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10:29'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10:33'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10: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 -- 973564 -- CHO {ts '2025-01-08 21:10:42'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10:48'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10:53'} 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 -- 973564 -- CHO {ts '2025-01-08 21:10:57'} 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 -- 973564 -- CHO {ts '2025-01-08 21:11:13'} 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 -- 973564 -- CHO {ts '2025-01-08 21:11:15'} 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 -- 973564 -- CHO {ts '2025-01-08 21:11:20'} 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 -- 973564 -- CHO