Database SQL Operation: WorkQueueSubscription.searchJobSubscriptionsByWorkQueueID
Description: | Returns the Job subscription for a work queue. |
Sterotype: | nsmulti |
SELECT
workQueueSubscriptionID,
wqs.subscriberID,
j.name AS subscriberName,
wqs.subscriberType,
wqs.subscriptionDateTime
INTO
:workQueueSubscriptionID,
:subscriberID,
:subscriberName,
:subscriberType,
:subscriptionDateTime
FROM
WorkQueueSubscription wqs,
Job j
WHERE wqs.workQueueID = :workQueueID
AND wqs.subscriberType = :subscriberType
AND wqs.subscriberID = j.jobID
AND j.recordStatus = :recordStatus
|