Viewing 15 posts - 1 through 15 (of 358 total)
Here is what I used to use on my SQL 2000 servers. Works great and there is no need to install any additional software on the SQL Server.
November 10, 2009 at 3:00 pm
If you have configured database mail already, you may just need to enable SQL Server Agent to use database mail.
Right click SQL Server Agent from SQL Server Management Studuio and...
August 26, 2009 at 10:25 am
I use extended properties and create an html document using this script. It works pretty well for what I use it for, but the third party tools definately do a...
August 26, 2009 at 10:00 am
You don't have to loop through the tables. You should be able to do something like this...
DECLARE @TABLE1 TABLE(ID int, TotNum int)
DECLARE @TABLE2 TABLE(ID int, TotNum int)
INSERT @TABLE1
SELECT 1,...
July 31, 2009 at 2:33 pm
I think this should work...
CASE WHEN weight < 1 THEN 'UPS'
WHEN weight BETWEEN 1.00 AND 2 THEN 'UPS2'
ELSE...
July 29, 2009 at 12:50 pm
Try this...
SELECT D.name,
CAST(CAST((D.SIZE * 8 / 1024.0) AS DECIMAL(18,2)) AS VARCHAR(20)) FILESIZE_MB,
CAST((D.SIZE...
July 28, 2009 at 1:03 pm
The Witness server will not automatically assume the role of the Principal server. The setting is just for the endpoint. If it is set to Witness, the server can...
July 28, 2009 at 8:24 am
I don't think you can use the select statement in the radians function. Try using a variable and see if it works.
DECLARE @lng float
Set @lng = (SELECT lng FROM...
July 28, 2009 at 8:12 am
You have to shrink the file to reclaim the space. See the following link...
http://msdn.microsoft.com/en-us/library/aa258824(SQL.80).aspx
July 28, 2009 at 7:43 am
I see Chris beat me to it. Here is a really good whitepaper that covers all of the failover scenarios.
July 27, 2009 at 7:32 pm
When you take the Mirror server down, the logs will contiue to build up on the Princiapl server until the Mirror server comes online again. Then the Principal server will...
July 27, 2009 at 7:27 pm
You can setup database mirroring without a Witness server so it will not automatically fail over when you do maintenance on the Principal server. Using synchronous mode without a witness...
July 27, 2009 at 3:08 pm
I would detach the databases, move the data files, and then reattach the databases. Look up attaching and detaching databases in Books Online or MSDN. This will not affect your...
July 23, 2009 at 11:21 am
Here is an article with some examples that should help.
http://www.mssqltips.com/tip.asp?tip=1525
You will specifically want to look at the last code sample.
July 22, 2009 at 12:32 pm
Viewing 15 posts - 1 through 15 (of 358 total)