Viewing 15 posts - 301 through 315 (of 709 total)
I've never seen anything like that. But it was nice of the company to show you that working there would suck before you waste time on an interview.
Eddie Wuerch
MCM: SQL
September 10, 2013 at 10:29 am
Weird that it's deadlocking on a page. Since you have the page address (5:1:1662692), it would be nice to see what the actual deadlocked resource is.
Print the page header with...
Eddie Wuerch
MCM: SQL
September 10, 2013 at 9:46 am
Looks like just a path issue. Is the account executing the script able to run sqlcmd from the context of the folder that holds the script file? (log on as...
Eddie Wuerch
MCM: SQL
August 23, 2013 at 11:56 am
Think of mirroring as really fast log shipping. The transaction log replay includes the target pages of the modifications. The buffer cache is not part of the transaction log.
So, to...
Eddie Wuerch
MCM: SQL
May 1, 2013 at 12:27 pm
SELECT physical_memory_in_bytes FROM sys.dm_os_sys_info
Eddie Wuerch
MCM: SQL
April 28, 2013 at 8:03 pm
This is pretty much what the NTILE() windowed function is for - equally dividing a results set into x number of pieces. Unlike throwing calculations at the min and max...
Eddie Wuerch
MCM: SQL
April 27, 2013 at 5:14 pm
Using a self-join, you can establish what a daily average rate for each entry is. Once you've gotten that, each entry will have a start and an end date.
From...
Eddie Wuerch
MCM: SQL
April 25, 2013 at 3:13 pm
First thing that comes to mind is Unicode conversion problems. That data must be stored as nvarchar() or nchar(). If any table application, column, temp table column, or variable touched...
Eddie Wuerch
MCM: SQL
April 11, 2013 at 12:49 am
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...
Eddie Wuerch
MCM: SQL
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...
Eddie Wuerch
MCM: SQL
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.
Eddie Wuerch
MCM: SQL
April 2, 2013 at 12:01 am
Any 823 or 824 errors in the SQL Server error log?
Eddie Wuerch
MCM: SQL
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...
Eddie Wuerch
MCM: SQL
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?
Eddie Wuerch
MCM: SQL
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...
Eddie Wuerch
MCM: SQL
March 24, 2013 at 10:33 pm
Viewing 15 posts - 301 through 315 (of 709 total)