init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
|
||||
while (select count(*) from auditlog.AuditQueue with (nolock)) > 0
|
||||
begin
|
||||
raiserror('Waiting for empty AuditQueue...', 0, 0) with nowait;
|
||||
waitfor delay '00:00:05';
|
||||
end
|
||||
go
|
||||
|
||||
ALTER QUEUE [auditlog].[AuditQueue]
|
||||
WITH
|
||||
STATUS = OFF,
|
||||
RETENTION = OFF,
|
||||
ACTIVATION (
|
||||
STATUS = OFF,
|
||||
PROCEDURE_NAME = [auditlog].[usp_AuditProcessing],
|
||||
MAX_QUEUE_READERS = 1,
|
||||
EXECUTE AS N'kreta_tech_user'
|
||||
),
|
||||
POISON_MESSAGE_HANDLING (STATUS = ON)
|
||||
GO
|
||||
|
||||
TRUNCATE TABLE auditlog.DialogPool
|
||||
GO
|
Loading…
Add table
Add a link
Reference in a new issue