Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-01-30 : 08:41:31
|
Steve writes "Hi I have an access 2000 db with a table called timetrack. I have two fields timetrack.jobnumber and timetrack.trackdate that store jobnumbers and dates. Can anyone tell me what the SQL code is to extract a recordset that pulls all of the jobnumbers for the current week.ThanksSteve"robvolk-Moved this to MS Access ForumEdited by - robvolk on 01/30/2002 08:46:28 |
|
Nazim
A custom title
1408 Posts |
Posted - 2002-01-30 : 10:11:25
|
SELECT jobnumber,trackdateFROM timetrackWHERE format(trackdate,"w")= Format(date(),"w") and format(trackdate,"M")= Format(date(),"M")and format(trackdate,"YYYY")= Format(date(),"YYYY")HTH--------------------------------------------------------------Dont Tell God how big your Problem is , Tell the Problem how Big your God is |
 |
|
|
|
|