Viewing 15 posts - 1,396 through 1,410 (of 3,008 total)
where
DateTime >=
-- First Day of Month for yesterdays date
dateadd(mm,datediff(mm,0,dateadd(dd,-1,getdate())),0)and
DateTime <
-- First Day of Next Month for yesterdays date
dateadd(mm,datediff(mm,0,dateadd(dd,-1,getdate()))+1,0)
May 3, 2010 at 12:39 pm
This should give you what you are after.
Script to analyze table space usage
April 30, 2010 at 4:42 pm
Steve Jones - Editor (4/29/2010)
CirquedeSQLeil (4/29/2010)
SQL 2008 now allows jobs to 10 sec.
Look at that, it does. I hadn't realized that I could get more granular there. However the docs...
April 29, 2010 at 2:13 pm
I really doubt there is an 800 TB database being managed by someone who has to ask questions here about how to do backups.
April 29, 2010 at 9:26 am
hor_netuk (4/29/2010)
Steve Jones - Editor (4/29/2010)
April 29, 2010 at 8:40 am
If you have a lot of unused space reported in tables, run the following command in that database to make sure your space usage is up to date:
exec sp_spaceused @updateusage...
April 27, 2010 at 2:58 pm
dbowlin (4/27/2010)
April 27, 2010 at 1:46 pm
I hate it when people just call a meeting with some cryptic subject line and no agenda or anything that would allow me to prepare for the meeting or decide...
April 26, 2010 at 8:47 am
Whisper9999 (4/23/2010)
...I thought that if Sql Server ran out of memory, then it had to page? So if you're not getting paging, then you've got enough in memory,...
April 23, 2010 at 11:58 am
Memory paging has very little to do with how much memory SQL Server needs.
Even with a high buffer cache hit ratio, if your Page Life Expectancy is low, you may...
April 23, 2010 at 11:34 am
Steve Jones - Editor (4/22/2010)
Or hope we have good backups! :w00t::hehe:Please don't try that Michael. I suspect there are holes in what my devs built
I won't, I have a new,...
April 22, 2010 at 10:15 am
Really late payments and refusal to pay legitimate bills are one of the big warning signs of a company that is about to go bankrupt.
If they're out of money, a...
April 21, 2010 at 6:44 pm
Ninja's_RGR'us (4/21/2010)
Michael Valentine Jones (4/21/2010)
That should cut off any further...
April 21, 2010 at 12:39 pm
Tell them to pay your boss everything they owe him first and you want a $10,000 retainer before starting any work.
That should cut off any further discussion. If they...
April 21, 2010 at 12:00 pm
Viewing 15 posts - 1,396 through 1,410 (of 3,008 total)