My Execute SQL Task executes a stored procedure. If it gets some records, then proceeds to a task to create a report. Otherwise, it goes to a script task to send out an email. The ResultSet is set to "Single row".
Everything works as expected. However, when stored procedure does not return any rows, it still sends out an email, but creates a failed message in SQL Execution report. The error message states:
An error occurred while assigning a value to variable "Variable": "Single Row result set is specified, but no rows were returned."
I cannot modify my stored procedure. What are my options to "fix" this error. (My package runs as expected.)