
ALTER QUEUE [auditlog].[AuditQueue] 
WITH 
    STATUS = ON, 
    RETENTION = OFF, 
    ACTIVATION (
        STATUS = ON, 
        PROCEDURE_NAME = [auditlog].[usp_AuditProcessing], 
        MAX_QUEUE_READERS = 1, 
        EXECUTE AS N'kreta_tech_user'
    ), 
    POISON_MESSAGE_HANDLING (STATUS = ON) 
GO
