Hi, Tim -
In PB, are you running the SELECT statement in a DataWindow or are you running it in the ISQL pane in the Database Painter? If you're comparing results between SQL Server Management Studio (SSMS) and PB, the only meaningful comparison (in my opinion) would be running the SELECT in the ISQL pane/session.
Also, does the PB database connection use the same credentials (database login ID/pswd or Windows Authentication) as SMSS?
What compatibility level is the SQL Server database configured for? 150 (SQL Server 2019)?
As a test, if you encapsulate the SELECT statement in a stored procedure and execute the stored procedure in both SSMS and PB's Database Painter (ISQL), how different are the timings?
Can you post the SELECT statement being tested?
Best regards, John