Generic SQL detectors
- Last UpdatedMar 07, 2025
- 1 minute read
A generic SQL detector detects an event based on criteria that are specified in a SQL statement. You can use pre-configured SQL templates that are stored in the database as the basis for your script, or you can create your own script from scratch.
To use a pre-configured SQL template, simply select it from a list of available templates when defining the event tag.
If you create a new script, you will need to add it to the SQLTemplates table in the Runtime database in order for it to appear in the list of pre-configured templates. You should test your SQL queries in SQL Server Query Analyzer before using them in a generic SQL event detector.