Hello All,
This is my first posting, sorry if my question is vague.
I want to be able to choose a delivery status between a certain day(s), and then change the status to a different state.
UPDATE tbl_DataRouting SET tbl_DataRouting.lDeliveryStatus = 5
WHERE tbl_DataRouting.sDeliveryRequestId IN (
SELECT DISTINCT tbl_DataRouting.sDeliveryRequestId FROM tbl_DataRouting
INNER JOIN tbl_DataAcquisition on tbl_DataAcquisition.sGroupId = tbl_DataRouting.sGroupId
WHERE tbl_DataAcquisition.dAcquired >= '2005-02-8 12:23:33.500'
AND tbl_DataAcquisition.dAcquired <= '2005-02-10 16:42:23.563' )
tbl_DataRouting.lDeliveryStatus may be one of the following values:
0 Scheduled
1 Queued
2 Failed
3 Successful
4 In Progress
5 Canceled
This is my first posting, sorry if my question is vague.
I want to be able to choose a delivery status between a certain day(s), and then change the status to a different state.
UPDATE tbl_DataRouting SET tbl_DataRouting.lDeliveryStatus = 5
WHERE tbl_DataRouting.sDeliveryRequestId IN (
SELECT DISTINCT tbl_DataRouting.sDeliveryRequestId FROM tbl_DataRouting
INNER JOIN tbl_DataAcquisition on tbl_DataAcquisition.sGroupId = tbl_DataRouting.sGroupId
WHERE tbl_DataAcquisition.dAcquired >= '2005-02-8 12:23:33.500'
AND tbl_DataAcquisition.dAcquired <= '2005-02-10 16:42:23.563' )
tbl_DataRouting.lDeliveryStatus may be one of the following values:
0 Scheduled
1 Queued
2 Failed
3 Successful
4 In Progress
5 Canceled