DB delete old records error Incorrect syntax near '-'. Seguir
Bartender version: 2021 R3
SQL - 2019
On the database schedule maintenance, backup and delete older records. We get this error.
Stored Procedure: [dbo].[SpBackupDeleteOlderRecords] Failed; Inner Message: Incorrect syntax near '-'.
Processed 73496 pages for database 'Bartender', file 'Bartender' on file 1.
Processed 1 pages for database 'Bartender', file 'Bartender_log' on file 1.
BACKUP DATABASE successfully processed 73497 pages in 3.039 seconds (188.940 MB/sec).
How to solve this error?