| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: MS SQL 2000
On 10 Jan 2005 09:10:14 -0800, Kirby wrote:
>I need an sql WHERE statement to extra data where the Job.JobDate is
>between the current date and the current date + two weeks.
Hi Kirby,
To calculate the current date plus two weeks, you use DATEADD (week, 2, Job.Jobdate)
The rest of your statement is trivial. The DATEADD function is described in detail in Books Online.
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)Received on Mon Jan 10 2005 - 13:54:26 CST
![]() |
![]() |