dbo.QER_ZScheduleStartDynamicGroup
Stored ProcedureSQL_STORED_PROCEDURESandbox DB
Interpretation
- Database routine. Review parameters, called procedures, DBQueue inserts, and QBM_PJobCreate helper calls before assuming side effects.
- DBQueue relation detected. Follow the task procedure and referenced-by list for async processing.
Relations
- Bulk DBQueue insert -> QER-K-DynamicGroupTest / QER_ZDynamicGroupTest at line 4
- References QBM_PDBQueueInsert_Bulk
Typed Edges
- queues DBQueue task QER_ZDynamicGroupTest at line 4 Bulk DBQueue insert -> QER-K-DynamicGroupTest / QER_ZDynamicGroupTest at line 4
- references source dbo.QBM_PDBQueueInsert_Bulk source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
- queues DBQueue task QER-K-DynamicGroupTest -> QER_ZDynamicGroupTest QBM_PDBQueueInsert_Bulk 'QER-K-DynamicGroupTest', @DBQueueElements_01 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende: return end
References
Referenced By
- No direct source references extracted.
Complete Source
1CREATE PROCEDURE QER_ZScheduleStartDynamicGroup(2 @SlotNumber int3)4AS5BEGIN6 DECLARE @MyName nvarchar(64) = object_name(@@procid)7 BEGIN TRY8 DECLARE @DBQueueElements_01 QBM_YDBQueueRaw9 INSERT INTO @DBQueueElements_01(object,10 subobject,11 genprocid)12 SELECT13 x.uid,14 NULL,15 x.GenProcID16 FROM(17 SELECT18 uid_dynamicGroup AS uid,19 cu.GenProcID20 FROM dynamicGroup dg21 JOIN QBMDBQueueCurrent cu22 WITH(readpast)23 ON dg.UID_DialogSchedule = cu.UID_Parameter24 WHERE25 cu.SlotNumber = @SlotNumber) AS x26 EXEC QBM_PDBQueueInsert_Bulk 'QER-K-DynamicGroupTest',27 @DBQueueElements_0128 END TRY29 BEGIN CATCH30 EXEC QBM_PSessionErrorAdd DEFAULT31 RAISERROR('',32 18,33 1)34 WITH NOWAIT35 END CATCH36 ende:37 RETURN38END
Open raw exported source
1 create procedure QER_ZScheduleStartDynamicGroup ( @SlotNumber int ) AS begin declare @MyName nvarchar(64) = object_name(@@procid) BEGIN TRY 2 declare @DBQueueElements_01 QBM_YDBQueueRaw insert into @DBQueueElements_01 (object, subobject, genprocid) select x.uid, null, x.GenProcID from ( select3 uid_dynamicGroup as uid, cu.GenProcID from dynamicGroup dg join QBMDBQueueCurrent cu with (readpast) on dg.UID_DialogSchedule = cu.UID_Parameter where4 cu.SlotNumber = @SlotNumber ) as x exec QBM_PDBQueueInsert_Bulk 'QER-K-DynamicGroupTest', @DBQueueElements_01 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd5 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende: return end 6