CARQUESTTechnol
15 years agoContributor
JDBC Request and Count
I'm trying to get the count of the number of rows returned by a specific query to compare to a webservice.
When I write the SQL:
Select Count(*) from table where cat_id='-1'
The query works in the SQL builder but doesn't work as a JDBC step. This query fails with a "Error getting response; null".
What do I need to do to have this query return a value that I can compare against?
When I write the SQL:
Select Count(*) from table where cat_id='-1'
The query works in the SQL builder but doesn't work as a JDBC step. This query fails with a "Error getting response; null".
What do I need to do to have this query return a value that I can compare against?