classifications log {ts '2025-07-07 09:51:31'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 10:29:25'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 10:29:33'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 10:59:15'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:00:50'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:01:06'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:01:17'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:03:01'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:03:24'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:10:50'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:11:57'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:12:08'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:12:16'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:12:54'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:13:19'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:13:41'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:16:41'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:16:51'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:16:55'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:17:41'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:26:28'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:27:18'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:43:58'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:44:09'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:44:29'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:46:20'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:49:37'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:49:43'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR {ts '2025-07-07 15:52:05'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with classifications as ( select c.classificationId, c.name, c.description, c.sortRank, c.abbreviation from tbl_OPR_Classifications c with (nolock) where ownerId = @ownerId and ownerType = @ownerType ) , classifications_mappedData as ( select * from classifications ) , classifications_preData as ( select * from classifications_mappedData with (nolock) where ( 1 = 1 ) ) , classifications_data as ( select * from classifications_preData ) , classifications_return as ( select * from classifications_data where 1 = 1 order by sortRank offset 0 rows fetch next 10000000 rows only ) , classifications_result as ( select ( select count(*) from classifications_data ) as totalCount, ( select * from classifications_return for json auto, include_null_values ) as data ) select * from classifications_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 54 -- MFR