Skip to content

dbSetMaxResultSetCount (dbCONNECT)

Compatible with:
  • Purpose
  • This command is used to specify the maximum size of the result set for all queries that get executed within the current dbBlock. This is to prevent poorly written queries that could potentially bring back into Worksoft SaaS large result set that have negative consequences of depleting the capacity within your domain by unnecessarily running data driven tests on the result set returned by such bad queries.
  • If this command is not explicitly used within a dbBlock, a default value will be used.
  • Default value is X records (rows).
  • Syntax
  • dbSetMaxResultSetCount(count)
  • Target
  • Maximum Size of Query Result Set to be returned [OPTIONAL]
  • Value
  • N/A
  • Return Value
  • N/A

Example(s):

Click here to see the example


 

Feedback and Knowledge Base