Hello.
I have a SQL Server Management\Job that deletes records from a table that are over 45 days old.
Recently, the job has been failing, with this message:
Yes, normally more than one record gets deleted each time it runs. So what happened?
Thanks.
I have a SQL Server Management\Job that deletes records from a table that are over 45 days old.
Recently, the job has been failing, with this message:
Code:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. [SQLSTATE 21000] (Error 512) The statement has been terminated. [SQLSTATE 01000] (Error 3621). The step failed.
Thanks.