Sounds like PhpStorm defines TOP limit (e.g. by using SET ROWCOUNT
) which is then used for other queries.
Try changing the value at Settings | Database | Result set page size
from default 500 to whatever you think will suit you best (setting it to 0 should remove this limit).
Alternatively try adding SET ROWCOUNT 0;
before the SQL command that you are going to execute in SQL Console.
UPDATE 2022-11-17
Current 2022.2 IDE version has it changed. It is now located at Settings/Preferences | Tools | Database | Data Editor and Viewer
screen and would be either Limit page size to
or Result set prefetch size
option.
https://www.jetbrains.com/help/phpstorm/2022.2/settings-tools-database-data-views.html