Viewing 15 posts - 2,596 through 2,610 (of 2,754 total)
Have you tried running DBCC SHRINKDATABASE on it?
Reading the MSDN article on it, it sounds like it will move all the allocated pages to the beginning of the file, thus...
November 8, 2012 at 7:16 am
Daniel Bowlin (10/29/2012)
Franken - storm
/best Gene Wilder voice
The name is FronkUnSturm!
October 30, 2012 at 3:34 pm
SQLRNNR (10/29/2012)
Brandie Tarvin (10/29/2012)
Are you thinking what I'm thinking?I know what we're going to do today.
TRY TO TAKE OVER THE WORLD!
October 30, 2012 at 3:33 pm
Thanks, I missed those!
Jason
October 30, 2012 at 2:52 pm
Or I could have searched on Google for "sql server create corrupt database" in which case the top two results would be an article by Perry Whittle (How To Create...
October 30, 2012 at 2:22 pm
Well, despite the lack of production from the Tigers' bats, it was a fun series.
Congrats to the SF Giants, World Series Champs 2012!
(maybe I should've specified the Tigers as the...
October 29, 2012 at 8:52 am
I'm reminded of a quote from the movie "Red Heat:[/url]"
"Ivan Danko: I do not understand this sport.
Art Ridzik: You're not supposed to, it's completely American.
Ivan Danko: We play...
October 24, 2012 at 8:01 am
While you can install both (I've got SQL2012 Enterprise and SQL2008R2 Express on my work PC,) one of them will have to be a named instance.
IE if you install SQL2008R2...
October 22, 2012 at 2:55 pm
Lowell,
I actually just stole your code, pretty much word for word. Below is the Agent Job step 1 I'm using:
use msdb
go
declare @DeleteToDate datetime()
set @DeleteToDate = DATEADD(d, -30, getdate())
DELETE FROM...
October 22, 2012 at 10:06 am
Steve Jones - SSC Editor (10/22/2012)
October 22, 2012 at 9:46 am
My thanks to Lowell!
Using your Delete commands, plus adding one to delete from dbo.sysmail_mailitems, the DB is down to about 23GB from 133GB!
Set up an Agent job to run once...
October 22, 2012 at 9:39 am
Brandie Tarvin (10/22/2012)
You know what I hate about pie charts?
You can never tell what filling they're using. And it's awfully hard to...
October 22, 2012 at 8:16 am
Good article, and I've forwarded it on to one of the Supervisors here as suggested reading for staff...
But, in the last section, in the sentence:
When I was in college, one...
October 18, 2012 at 7:58 am
While it was a bit of snarky reply, it's also true. If you want to automate something like this, it's going to have to be scheduled somehow. Either...
October 18, 2012 at 7:48 am
Lowell I'll give those a try once my re-restore of the DB on my test box completes...
It only takes about an hour-and-a-half or so to restore...
😉
Thanks!
Jason
October 17, 2012 at 11:13 am
Viewing 15 posts - 2,596 through 2,610 (of 2,754 total)