﻿EXEC dev.uspCreateSchemaViews 'T_DKT_DIC_OFUZENOFALENGEDELYEZESTIPUS, T_DKT_DIC_OFCSATOLASENGEDELYEZESTIPUS, T_DKT_DIC_OFEGYEDIERTEKELESTIPUS, T_DKT_DIC_HFUZENOFALENGEDELYEZESTIPUS';
GO

EXEC dev.uspCreateSchemaViews 'T_DKT_ALKALMAZOTTBEALLITAS, T_DKT_DIC_OFERTEKLESTIPUS, T_DKT_DIC_OFBEADANDOTIPUS, T_DKT_DIC_HFCSATOLASENGEDELYEZESTIPUS, T_DKT_DIC_MINDENUZENETKOZPONTIFALONTIPUS';
GO

EXEC dev.uspCreateSchemaViews 'T_DKT_DIC_CSAKTANARIRHATUZENOFALRATIPUS, T_DKT_DIC_HFERTEKLESTIPUS, T_DKT_DIC_AVATARTIPUS, T_DKT_DIC_OFELOREBEIRTFELADATMEGJELENITESE';
GO

EXEC dev.uspCreateSchemaViews 'T_DKT_DIC_TANULOFELADATBEADASSTATUSZ, T_DKT_TANULOFELADATBEADAS, T_DKT_DIC_HFELOREBEIRTFELADATMEGJELENITESE, T_DKT_DIC_HFBEADANDOTIPUS';
GO

EXEC dev.uspCreateSchemaViews 'T_DKT_FELADAT, T_DKT_DIC_FELADATTIPUS, T_DKT_DIC_FELADATERTEKELESTIPUS';
GO

EXEC dev.sp_Global_GenerateAsyncAuditTriggerAll
GO

ALTER QUEUE auditLog.[AuditQueue]
WITH ACTIVATION (
  STATUS = ON,
  PROCEDURE_NAME = auditLog.usp_AuditProcessing,
  MAX_QUEUE_READERS = 10,
  EXECUTE AS 'Kreta_tech_user'
);
GO
