Back to OIM Explorer

dbo.QER_TDHardwareType

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on HardwareType. Trigger parent table: HardwareType

Source: sandbox-db sys.sql_modules

Source size: 284 characters

Interpretation

  • Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.

Relations

  • Trigger parent table: HardwareType

Typed Edges

  • trigger on table HardwareType Trigger parent table: HardwareType
  • references source dbo.QBM_PSessionErrorAdd source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL21 lines
1CREATE trigger QER_TDHardwareType2  ON HardwareType FOR3DELETE NOT FOR Replication4AS5BEGIN6  BEGIN TRY7    IF EXISTS(8      SELECT TOP 1 19      FROM deleted)10    GOTO start11    RETURN start:12  END TRY13  BEGIN CATCH14    EXEC QBM_PSessionErrorAdd DEFAULT15    RAISERROR('',16    18,17    1)18      WITH NOWAIT19  END CATCH20  RETURN21END
Open raw exported source
SQL ยท Raw3 lines
1create   trigger QER_TDHardwareType on HardwareType  for delete not for Replication as begin  BEGIN TRY if exists (select top 1 1 from deleted) 2goto start return start:  END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH  return end 3