|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Returning alternate rows from a query
Hello all-
Any thoughts about how one could return alternate records in an MS SQL query hitlist? The specific application is that I'm performing a query that returns a group of records in a date range -- say, every "Monday" record. I'd like to have the query be able to select every other Monday instead, if the user so desires. Thanks in advance! - Tom Tedeschi |
|
#2
|
||||
|
||||
|
use DATEPART(ww...) to get odd/even week numbers
rudy |
|
#3
|
|||
|
|||
|
Great, thanks!
-TRT |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Returning alternate rows from a query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|