![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: Please who can answer this is a genious |
|
Half Man, Half Amazing
![]()
Latest Blog Post:
North Lake Union Posts: 2,917
Name: Forrest Croce
Location: Seattle, WA
|
Have you tried calling the procedure from oSql or Enterprise Manager? Do you get the same results?
I'd guess you're storing the date and time, but only passing in the date through the parameters? Are you missing anything after midnight on end date? |
|
|
|
|
|
Re: Please who can answer this is a genious |
|
Half Man, Half Amazing
![]()
Latest Blog Post:
North Lake Union Posts: 2,917
Name: Forrest Croce
Location: Seattle, WA
|
What rows are missing? You said "it doesn't seem to be retunring all records within the datetime range" ... so which aren't being returned?
If you ask for 1/1/08 to 3/1/08, but store 3/1/08 1:15:00.00 AM, that row doesn't fall between the two date time values. It's on the last day, but if you aren't passing in the time part with your parameters, midnight is defaulted, and 1:15 am is after midnight. My guess is that's what's going on. |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |