Back to OIM Explorer

dbo.ATT_TUDialogConfigParm

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on DialogConfigParm. Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4; Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4; Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 5; References QBM_PDBQueueInsert_Single

Source: sandbox-db sys.sql_modules

Source size: 914 characters

Interpretation

  • Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
  • DBQueue relation detected. Follow the task procedure and referenced-by list for async processing.

Relations

  • Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4
  • Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4
  • Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 5
  • References QBM_PDBQueueInsert_Single
  • Trigger parent table: DialogConfigParm

Typed Edges

  • queues DBQueue task QBM_ZRecalculate at line 4 Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4
  • queues DBQueue task QBM_ZRecalculate at line 5 Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 5
  • trigger on table DialogConfigParm Trigger parent table: DialogConfigParm
  • references source dbo.QBM_FGISessionContext source text reference
  • references source dbo.QBM_PDBQueueInsert_Single source text reference
  • references source dbo.QBM_PSessionErrorAdd source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL44 lines
1CREATE trigger ATT_TUDialogConfigParm2  ON DialogConfigParm FOR3UPDATE NOT FOR Replication4AS5BEGIN6  BEGIN TRY7    IF EXISTS(8      SELECT TOP 1 19      FROM inserted)10    GOTO start11    IF EXISTS(12      SELECT TOP 1 113      FROM deleted)14    GOTO start15    RETURN start:16    DECLARE @GenProcID varchar(38)17    SELECT @GenProcID = dbo.QBM_FGISessionContext('')18    IF EXISTS(19      SELECT TOP 1 120      FROM dialogconfigparm p21      JOIN deleted d22        ON p.uid_configparm = d.uid_configparm AND(isnull(d.value, N '') <> isnull(p.value, N '') OR isnull(d.IsEnabledResulting,23    0) <> isnull(p.IsEnabledResulting, 0))24    WHERE25      p.IsPreprocessorCondition = 1)26    BEGIN27      EXEC QBM_PDBQueueInsert_Single 'QBM-K-CommonReCalculate',28      'ATT-K-PrepropAttestationObject',29      '',30        @GenProcID31      EXEC QBM_PDBQueueInsert_Single 'QBM-K-CommonReCalculate',32      'ATT-K-PrepropAttestationWizardParm',33      '',34        @GenProcID35    END36  END TRY37  BEGIN CATCH38    EXEC QBM_PSessionErrorAdd DEFAULT39    RAISERROR('',40    18,41    1)42      WITH NOWAIT43  END CATCH44END
Open raw exported source
SQL ยท Raw7 lines
1 create   trigger ATT_TUDialogConfigParm on DialogConfigParm  for Update not for Replication as begin  BEGIN TRY if exists (select top 1 1 from 2inserted) goto start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext3('') if exists (select top 1 1 from dialogconfigparm p join deleted d on p.uid_configparm = d.uid_configparm and ( isnull(d.value,N'') <> isnull(p.value4,N'') or isnull(d.IsEnabledResulting,0)<> isnull(p.IsEnabledResulting,0) ) where p.IsPreprocessorCondition = 1 ) begin  exec QBM_PDBQueueInsert_Single 5'QBM-K-CommonReCalculate', 'ATT-K-PrepropAttestationObject', '', @GenProcID exec QBM_PDBQueueInsert_Single 'QBM-K-CommonReCalculate', 'ATT-K-PrepropAttestationWizardParm'6, '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 7