12 years ago
Database Checkpoint
We have setup a simple oracle db with one table containing 4 different fields. We want to execute a test where we setup a Database Checkpoint towards this table. In the table we have 5 different elements with the same content in the comment-field of each element. We want to perform a check on that table where we check if the comment-field contains something similar to a string and we want to see if that is greater than, less than and equal to a any value.
The first part is solved by the SQL-command below:
SELECT COUNT(*) AS X
FROM
AKT_KONTAKTPERSONER
WHERE KOMMENTAR LIKE '%<string-to-look-for%'
But we want the checkpoint to be successfull, or failing, if the number of hits are below or greater than any integer. How do we do that through the GUI? Like it is possible to do with property checkpoints.