Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
I not sure how to do this. I'm creating a table that tells when a
timesheets are due and this is a datetime field (timesheet_due).
The timesheets are due at noon 5 days prior to the check date. The
check date is from another table that I am using to create the
timesheet table record.
I can't get the syntax right to do this.
insert into ts_table (keyfield, timesheet_due)
select keyfield, ck_date - 5 units days ???something???
from pay_table
where .....
What do I replace ???somthing??? to get 12:00 for the time?
John
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.