Viewing 15 posts - 3,781 through 3,795 (of 59,067 total)
Now - with all that said, loading 120K rows shouldn't take more than a couple of minutes at most. The fact that it already takes several hours I would...
--Jeff Moden
Change is inevitable... Change for the better is not.
Jeff Moden wrote:Apparently, this isn't an urgent problem, eh?
Guess someone is RTFM'ing 😉 ;cool:
That would be a nice change.
--Jeff Moden
Change is inevitable... Change for the better is not.
Another option
WHERE YourDateColumn >= DATEADD(month, DATEDIFF(month, 0, GETDATE()) - 1, 0) --First of previous month
AND YourDateColumn < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0) --First of...
--Jeff Moden
Change is inevitable... Change for the better is not.
So you will want to do some date math.
You should treat all dates as the ISO standard and to avoid any ambiguity use YYYY-MM-DD formatting when passing dates to...
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 15 posts - 3,781 through 3,795 (of 59,067 total)