Viewing 15 posts - 16 through 30 (of 190 total)
I'll throw my 2 cents in.
Create an instance of SQL Server Express Edition in a version equal to or greater than the one used to take the backup. If...
April 1, 2013 at 8:14 am
My suggestion:
Create a .bat batch file on a computer and create a SQLCMD line for each server instance that you need to run it on.
For instance:
sqlcmd -S ServerName1\SQLEXPRESS -E -i...
March 29, 2013 at 9:40 am
It is certainly no easy task, but basically you want to create Views that restrict the rows that are returned, such as the following:
--SQL Server example
CREATE VIEW vw_MySales
AS
SELECT * FROM...
March 25, 2013 at 1:54 pm
Of course, then comes the debate of what fill factor to use on the rebuild......
March 25, 2013 at 9:37 am
Totally agree. Page count is the main one other than avg frag %.
I use > 30% and > 50 pages to rebuild. Less on either just gets a...
March 25, 2013 at 9:35 am
Colin is correct. HA and DR are two totally different animals. It is my opinion that you should first discuss with management and business units to determine their...
March 13, 2013 at 2:33 pm
Oh well. Here is the code. Sorry for putting it here....
USE master
GO
CREATE DATABASE AuditTest
GO
USE AuditTest
GO
CREATE TABLE Customer
(CustID int IDENTITYNOT NULL
CONSTRAINT PK_Customer_On_CustID PRIMARY KEY CLUSTERED,
CustFNamevarchar(20)NULL,
CustMNamevarchar(35)NULL,
CustLNamevarchar(35)NULL,
CurrRecbitNOT NULLDEFAULT (1),
LCHostvarchar(50)NOT NULLDEFAULT HOST_NAME(),
LCUservarchar(50)NOT...
March 12, 2013 at 12:05 pm
I have attached examples of how I do them. We use them for accountability, and for troubleshooting ("why is it THIS value???"). I have a mechanism embedded that...
March 12, 2013 at 12:02 pm
Forgot to mention one detail. I copy from server to Data Domain, so the server's NIC is a GB NIC, and I'm slowed by the network link from those...
February 19, 2013 at 11:57 am
aferro:
I would have a bit of anxiety over that, also! I do dozens of databases, the biggest is around 120 GB, and on down to 30 mb or so.
One...
February 19, 2013 at 11:44 am
I think this may be what you are looking for. It is a script I wrote to do Instance Security Audit documentation. This is the latest version. ...
January 31, 2013 at 8:05 am
Here is a simple example.
First file is the .sql script. It is invoked using SQLCMD in a batch file. Create one of these .sql files for each of...
January 18, 2013 at 6:55 am
We use Data Domain for backup archiving. It is 1/2 mile away at another site.
I back up all my databases to the actual server that it resides on. ...
January 11, 2013 at 9:43 am
Here is a quick script to see the last backup for each database on the server. Gives file name (so you know where they are going), whether the database...
January 11, 2013 at 7:13 am
Just a thought, I would also keep and stash away a copy of the associated logins scripted out using the sp_help_revlogin procedure. That way, you can reinstall the database...
December 20, 2012 at 8:20 am
Viewing 15 posts - 16 through 30 (of 190 total)