Viewing 15 posts - 106 through 120 (of 147 total)
Not sure of the cause of this but you could try unselecting the "Customize Service Accounts" checkbox, so that all services use the same account.
Then if the install is successful,...
March 20, 2009 at 2:24 pm
Lynn,
Beware the typo. You put 365 instead of -365.
snehal.gamaji.career,
Create a clustered index and go with Lynn's suggestion. Your WHERE clause is not SARGable, and will perform a scan...
March 20, 2009 at 11:36 am
HOST_NAME() returns the connected host not the physical clustered server.
SERVERPROPERTY('ComputerNamePhysicalNetBIOS') will do what you want.
March 20, 2009 at 11:20 am
SQL Server 2008 has the ability to send queries to multiple servers and return the results in one resultset.
Try something like this:
select serverproperty('MachineName'), serverproperty('ProductVersion'), serverproperty('Edition'), serverproperty('ProductLevel')
or this
select serverproperty('MachineName'), name
from sys.databases...
March 19, 2009 at 7:32 pm
The recommendation applies to the data files, not the log.
So 1 mdf, 7 ndf's and 1 ldf in your case.
March 19, 2009 at 6:31 pm
Try this. Note, I've updated your join syntax to bring it into the 21st century.
DECLARE @sql VARCHAR(1000)
SET @sql = 'SELECT ''?'', so.name, MAX(si.rows)
FROM sysobjects so
JOIN...
March 16, 2009 at 5:17 pm
JournalSpace.com wasn't the most recent failure through lack of backups.
http://www.brentozar.com/archive/2009/03/backup-fail-magnolia-goes-under/
March 16, 2009 at 1:00 pm
If you don't have a hex editor, Tony Rogerson blogged about another way to do it.
March 14, 2009 at 2:41 pm
Another possibility is memory shortage and/or slow I/O. The former will almost certainly cause the latter.
Look in perfmon at the following counters:
SQLServer:Buffer Manager - Page Life Expectancy
Physical Disk (all...
March 14, 2009 at 2:38 pm
The first course of action when attempting this sort of exercise is
to try and work out what the code is trying to achieve.
In this case your derived table (t1) will...
March 13, 2009 at 2:17 pm
The DBCC commands mentioned above will clear the cache but won't release memory back to the OS.
Your best option is to limit the memory used by setting "max server memory".
You...
March 11, 2009 at 5:53 pm
SELECT Patient, Sample, MAX(Test1) Test1, MAX(Test2) Test2, MAX(Test3) Test3
FROM (
SELECT Patient, Sample,
CASE WHEN Test LIKE 'One%' THEN Result ELSE NULL END Test1,
CASE WHEN Test LIKE 'Two%' THEN Result ELSE NULL...
March 11, 2009 at 1:48 pm
In depth analysis here, if you want more detail:
March 10, 2009 at 7:00 pm
Something that queries and records some wait stats (from sys.dm_os_wait_stats) and a couple of counters from master.dbo.sysperfinfo (e.g. page life expectancy) and reports on the hourly differences.
To get a single...
March 10, 2009 at 6:26 pm
Will there always be exactly one column in the source data with a value? If that is the case you could replace the SUM with MAX.
March 10, 2009 at 6:13 pm
Viewing 15 posts - 106 through 120 (of 147 total)