Viewing 15 posts - 136 through 150 (of 346 total)
You could always have the notification as a job step (one for success, one for failure). Then use sp_send_dbmail.
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 4, 2008 at 9:15 pm
You'd fail back to the original principal the same way you failed over in the first place.
If your original principal was completely hosed and needed an OS rebuild, you would...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 9:18 pm
Yeah, run your delete using T-SQL, beginning with a [font="Courier New"]DISABLE TRIGGER[/font] statement and ending with an [font="Courier New"]ENABLE TRIGGER[/font] statement. The trigger will be disabled for ALL connections...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 9:09 pm
Yes. If SQL Server is started in single user mode, any account with local administrator rights can connect/login to SQL Server and they will have sysadmin rights.
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 9:02 pm
Any errors in your SQL Server ERRORLOG? Here's a list of possible login failure states and their causes:
Error State Error Description
1 ...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 8:59 pm
You can use the [font="Courier New"]DBCC SQLPERF(LOGSPACE)[/font] command to get a list of sizes + percent used for every database log on your system.
Log truncation does not shrink the physical...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 8:48 pm
Use SQL Server Configuration Manager. It should take care of any permissions the designated account requires. All you should have to do is type in the name &...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 8:39 pm
You need to use EXEC or sp_executesql to be able to concatenate USE with @DatabaseName. However, that change in database context will only apply within the EXEC/sp_executesql statement, so...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 4:01 pm
Copying database files while they are in use is dodgy at best. I can't say I know of any time it has worked. You would be better off...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 3:22 pm
If it is definitely SQL Server causing the issue, you can track the issue to a specific SPID and from there see what code/connection is causing the issue.
Fire up Perfmon,...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 3:10 pm
In your cursor declaration, change the select statement to:
[font="Courier New"]SELECT name
FROM master..sysdatabases
WHERE DATABASEPROPERTYEX(name, 'Status') = 'ONLINE'
[/font]
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
May 1, 2008 at 2:48 pm
Sounds like somebody has setup a maintenance plan and selected 'all databases' instead of selecting just those databases that need to have log backups done. So...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
April 30, 2008 at 6:04 pm
They'll get applied. When restoring a database, you generally start with the latest full + differential then move onto the transaction logs. However, it is entirely possible to...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
April 30, 2008 at 6:00 pm
The tools used shouldn't make the job harder to do. I agree with the concept of making the tools facilitate the job at hand but not dumb it down.
I...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
April 28, 2008 at 3:31 pm
I've done this before. Here are the steps I used:
[font="Courier New"]
source server = server from which backups originated
target server = server onto which we wish to restore the system...
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare
April 27, 2008 at 5:08 pm
Viewing 15 posts - 136 through 150 (of 346 total)