Skip to main content
Run Query connects to a PostgreSQL account, executes one SQL statement, and returns its result rows and affected-row count.

Inputs

Add pro as parameter 1 and the cutoff date as parameter 2.
Use parameters for values instead of joining untrusted text into SQL. Parameter placeholders protect values, but they cannot stand in for table or column names.

Outputs

The database connection is closed after the query succeeds or fails.