Viewing 15 posts - 1 through 15 (of 40 total)
Three road trips later and I'm back at the office, and this job still isn't working.
Windows updates were run, and the server was rebooted. We're back to the original...
August 13, 2015 at 9:33 am
Perry, thanks for your help.
Perry Whittle (7/30/2015)
wayne.mcdaniel (7/29/2015)
* The user is a member of the dbcreator role - and the serveradmin and sysadmin roles
Once you grant sysadmin to an account...
July 30, 2015 at 3:09 pm
JoshDBGuy (7/29/2015)
If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE. If the database exists, RESTORE permissions...
July 30, 2015 at 10:00 am
I've been working on something similar to this for a while. We wanted our database update utility to do an automatic backup before it started changing tables and stored...
March 30, 2012 at 8:35 am
Jeff Moden (10/24/2010)
yitiana (9/19/2010)
Have you ever forgot or lost your SQL Server sa password?I'm always amazed at how many people do such a thing.
Probably more likely that the one person...
October 25, 2010 at 11:05 am
I'm a fan of the index script from Michelle Ufford, aka SQLFool.
http://sqlfool.com/2010/04/index-defrag-script-v4-0/
Its well documented in the comments, and has a number of options for setting thresholds for when to rebuild,...
August 24, 2010 at 9:29 pm
gbargsley (8/24/2010)
August 24, 2010 at 7:05 am
It helps to give a simple create table script with some sample data....here is one with a non-pivot method of solving this. I know just enough about pivots to...
August 23, 2010 at 6:22 pm
Lowell (5/7/2010)
the lazy way is to...
May 10, 2010 at 3:39 pm
Every year we plan to take a week off for Christmas, but there is always the disclaimer "if the situation allows"....
Somehow, the situation never allows.
The cleaning lady just...
December 22, 2009 at 4:48 pm
Thanks for the advice...in the end, it turned out to be one of those hair pulling experiences that I don't understand, but I learned and I moved on.
I used sp_helpdb...
December 21, 2009 at 6:26 pm
GilaMonster (12/21/2009)
USE [SAMPLE_DB]
GO
DBCC SHRINKFILE (N'SAMPLE_DB_Log2' , EMPTYFILE)
GO
use master
go
/* This next line works in the sample, fails in my actual database */
ALTER DATABASE [SAMPLE_DB]
REMOVE FILE...
December 21, 2009 at 1:38 pm
SQL Server is going to return GetDate as a datetime - which includes the date and the time.
Since you are wanting this in a very specific format, you might want...
December 21, 2009 at 11:23 am
Thanks for the suggestions. Due to the interactive nature of the scripts I am trying to run, and the fact that it's one of the critical but infrequent projects,...
October 7, 2009 at 10:13 am
This is a fairly good Microsoft white paper on performance troubleshooting. I've used it more than once as a starting point.
April 10, 2009 at 7:46 am
Viewing 15 posts - 1 through 15 (of 40 total)