Skip to content

dbgetQueryExecutionErrorText (dbCONNECT)

Compatible with:
  • Purpose
  • This command is used to retrieve (read) the SQL Error Text that corresponds to a failed SQL query that was executed by dbCONNECT.
  • This command must be used usually immediately after a dbExecuteQuery and within the same dbBlock.
  • Syntax
  • dbgetQueryExecutionErrorText(label,variable)
  • Target
  • Label assigned to the SQL Query (using the dbLabelQuery command)
  • Value
  • Name of a Variable (or User-Defined Variable), declared earlier within the test in progress into which you want the failed SQL Query statement's error text to be stored into.
  • Return Value
  • N/A

Example(s):

Click here to see the example


 

Feedback and Knowledge Base