View previous topic :: View next topic |
Author |
Message |
werosen1
Joined: 16 Apr 2006 Posts: 2
|
Posted: Mon Apr 17, 2006 12:19 pm Post subject: Identifying week range by todays date |
|
|
I'm trying to write an SQL query that identifies today's date, and then provides the date range for that date's week, so I can return all my database
records that fall in that week's date range and display them in my ASP page.
Is there a way to do this?
Regards |
|
Back to top |
|
|
paul
Joined: 11 Oct 2004 Posts: 128
|
Posted: Sun Apr 30, 2006 4:49 pm Post subject: |
|
|
The SQL statement will be different for different database servers. What database do you use? _________________ World Countries | Survival Skills |
|
Back to top |
|
|
rose
Joined: 21 Feb 2006 Posts: 29
|
Posted: Mon May 01, 2006 5:08 pm Post subject: |
|
|
And are you using asp or asp.net? |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Wed May 17, 2006 8:37 am Post subject: |
|
|
He can do this directly from SQL, so the technology (ASP or ASP.NET) doesn't really matter. _________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
James
Joined: 20 Feb 2006 Posts: 24
|
Posted: Sun May 21, 2006 6:59 pm Post subject: |
|
|
Can someone post how it would be done using MS SQL?
Its likely he is using that database I would say |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|