Datagrip - get row count (easily) on queries with more than 500 results

Kristen Waite picture Kristen Waite · Feb 15, 2017 · Viewed 7.7k times · Source

Is there a way (setting or shortcut) for displaying the total row count of a query that outputs more than 500 rows - that is, without modifying the "Result set page size" value in preferences? I'm looking essentially for the output of select count(*) from (<query>) t in addition to the displayed rows.

Answer

moscas picture moscas · Feb 20, 2017

Click on page-size of the result-set

count(*) in DataGrip