Viewing 9 posts - 1 through 9 (of 9 total)
Thank You Kenneth....That is definatley something to keep in mind.
May 18, 2006 at 6:17 am
Could it be because this code is a step inside a job?
Could I possiably create a stored procedure and have the job exec the stored procedure maybe?
May 17, 2006 at 9:19 am
Here is the Step 1 that I created.
UPDATE dbo.ONSA_NSS
SET sent = 1
WHERE sent IS NULL
AND (datecreated BETWEEN DATEADD(hh, - 2, GETDATE()) AND DATEADD(hh, - 1, GETDATE())) AND (accepteddate IS NULL)
This...
May 17, 2006 at 8:01 am
I think that I have to use the command "SET" but not really sure how to use it.
May 17, 2006 at 6:39 am
YES!!..That worked very well..Thank you very much.
Can we take this one step further...Now that we found the record that is one hour old, how to I put a value of "1"into...
May 16, 2006 at 2:57 pm
I am getting a Syntax error with this.
error 156..Incorrect syntax near keyword set
Can anyone help
UPDATE
May 15, 2006 at 7:36 am
Ok..Found that section. Are you able to give me a example of the type of commands I would use to check my table for records that are over 2 hours...
May 10, 2006 at 1:28 pm
I guess I would want to check it every 2 hours to see if a entry is 2 hours old and the person it was dispatched to has not accepted...
May 10, 2006 at 9:04 am
Never used Jobs before.
So basicly I would create a job to check and see if the Datecreated field is 2 hours old and the Accepeted date field...
May 10, 2006 at 6:44 am
Viewing 9 posts - 1 through 9 (of 9 total)