members log {ts '2025-07-08 08:55:15'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5517598 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5517598 {ts '2025-07-08 08:55:16'} SQL {ts '2025-07-08 08:55:16'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- 207 -- MFR -- MFR -- 4461919 -- 5102807 {ts '2025-07-08 09:13:15'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5517598 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5517598 {ts '2025-07-08 09:13:15'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 09:13:15'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4461919 {ts '2025-07-08 09:16:14'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 3811100 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 3811100 {ts '2025-07-08 09:16:14'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER {ts '2025-07-08 09:16:14'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 207 -- MFR -- 5102807 -- 4461919 {ts '2025-07-08 09:31:12'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 3811100 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 3811100 {ts '2025-07-08 09:31:13'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4461919 {ts '2025-07-08 09:31:13'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102192 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102192 {ts '2025-07-08 09:32:21'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 3811100 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 3811100 {ts '2025-07-08 09:32:22'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102192 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102192 {ts '2025-07-08 09:32:22'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4461919 {ts '2025-07-08 11:34:27'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 3811100 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 3811100 {ts '2025-07-08 11:34:28'} SQL {ts '2025-07-08 11:34:28'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102192 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4461919 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- 207 -- MFR -- 4461919 -- MFR -- 5102192 {ts '2025-07-08 11:34:29'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and loginEnabled = 1 ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where ( 1 = 1 ) ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 20 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR {ts '2025-07-08 11:38:11'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4903737 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4903737 {ts '2025-07-08 11:38:11'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4903737 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4903737 {ts '2025-07-08 11:39:36'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4879325 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4879325 {ts '2025-07-08 11:39:36'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4879325 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4879325 {ts '2025-07-08 11:40:06'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:40:06'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:41:11'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:41:12'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:41:14'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and loginEnabled = 1 ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where ( 1 = 1 ) ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 20 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR {ts '2025-07-08 11:42:57'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:42:57'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 5102807 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 5102807 {ts '2025-07-08 11:42:57'} SQL declare @ownerId int = ?; declare @ownerType varchar(3) = ?; with data as ( select fspro_userId, firstName, lastName, email, title, staffMember, loginEnabled, firstName + ' ' + lastName as fullName from tbl_FSPro_members with (nolock) where ownerId = @ownerId and fsl_tablecode = @ownerType and nullif( orgId, 0 ) is null -- make sure we we don't get CRM contacts and nullif( email, '' ) is not null -- make sure we only get those with email address and fspro_userId = ? ) , data_mappedData as ( select * from data ) , data_preData as ( select * from data_mappedData with (nolock) where [fspro_userId] = 4903737 ) , data_data as ( select * from data_preData ) , data_return as ( select * from data_data where 1 = 1 order by fullName offset 0 rows fetch next 10000000 rows only ) , data_result as ( select ( select count(*) from data_data ) as totalCount, ( select * from data_return for json auto, include_null_values ) as data ) select * from data_result for JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER -- 207 -- MFR -- 4903737