Executes the given SQL command statement sqlStatement.
This method provides the ability to perform SQL commands like DROP, INSERT etc., which do not return any results. The added benefit of this method is that it will use the existing DatStat Illume Collector connection pool alleviating the need for the developer to get a connection.
If there are errors during the execution of the provided SQL Statement, this call will throw an exception. It will be up to the hook developer to catch these exceptions and it is very important that this is done or the survey will stop running resulting in your survey participant getting presented with an error page with very limited information.
HookContext Class | DatStat.Collector Namespace | ExecSQLWithResults