Viewing 15 posts - 301 through 315 (of 700 total)
SET STATISTICS TIME ON;
EXEC YourProcedureNameGoesHere;
Then check the 'Messages' output window.
You may need to force a recompile of your proc before running it in order to see the compilation time (no...
April 10, 2013 at 6:17 pm
S_Kumar_S (4/10/2013)
1.What's wrong with existing structure?
2.Table is partitioned on WeekOfJoining, which has nonclustered index.( the index itself is not partitioned). Is it better to partition...
April 10, 2013 at 6:12 pm
If you specified WITH RECOMPILE in the CREATE PROC/ALTER PROC statement, the plan won't be cached.
April 2, 2013 at 12:01 am
Any 823 or 824 errors in the SQL Server error log?
April 1, 2013 at 12:56 pm
You can use a feature called 'Composable DML' that allows the output of a DML statement (such as MERGE) to feed another one - basically using an OUTPUT clause in...
April 1, 2013 at 12:50 pm
That message is 2 1/2 years old. Were you taking SAN snapshots then? Is this happening currently?
April 1, 2013 at 12:24 pm
Because DepartmentID is the second column in the index (unique indexes are created automatically to enforce unique constraints), the only option available to the query processer is to scan the...
March 24, 2013 at 10:33 pm
I'd go with a disk problem, and ignore the NOLOCK part of the error message. That specific error can be thrown if there is a corrupt page encountered while running...
March 24, 2013 at 10:28 pm
RESTORE DATABASE TestDB
FROM DISK = 'D:\Backup\backup.bak'
WITH NORECOVERY,
MOVE 'DateFile' TO 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\TestDB.mdf',
MOVE 'LogFile_Log' TO 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\TestDB.ldf';
GO
In the...
March 24, 2013 at 10:21 pm
SELECT Root_Cause_Analysis.value('(/RCA/PREVENTION/text())[1]', 'varchar(64)')
FROM T1.Submission;
June 9, 2012 at 3:46 pm
A while back, I posted a breakdown of SAN snapshot options with SQL Server in response to a different question:
http://www.sqlservercentral.com/Forums/Topic795819-357-2.aspx#bm797256
-Eddie
May 21, 2012 at 1:26 pm
Never researched External Activation, but we do have a number of queues with activated CLR procs whose purpose is to communicate with systems (such as Redis) outside of the SQL...
May 8, 2012 at 1:47 pm
When multiple files exist in a filegroup, space is allocated from each file proportionally by the amount of free space in each file. Your new second file is only 1MB....
April 25, 2012 at 2:45 pm
Full details at http://www.microsoft.com/sqlserver/en/us/get-sql-server/how-to-buy.aspx
The guy who said 'rip out a processor' was on the right path. If the Windows OS can see a processor core, even if you use SQL...
April 5, 2012 at 3:09 pm
If you're making your own version of the proc with custom mods, try marking it as a system procedure:
EXEC sp_ms_marksystemobject 'your proc name'
-Eddie
April 4, 2012 at 4:23 pm
Viewing 15 posts - 301 through 315 (of 700 total)