How to run query with parameters in DataGrip?

In DataGrip, how can I pass parameters to SQL query? Say I have a query:

select * from table where date >= ?

Then how can I bind the variable here? When I open the parameters pane, i.e. click the P button here.

enter image description here

I see

No parameters present


enter image description here

Where should I set the parameter value?


1 comment
Comment actions Permalink

Just run it! The parameter dialog will appear.


Please sign in to leave a comment.