Viewing 15 posts - 1,756 through 1,770 (of 5,843 total)
1) Makes me twitchy to see those types of network stack errors in the Cluster Validation Report
2) I would watch out for uncommitted transactions causing a backup in the tlog...
December 11, 2014 at 1:52 am
This should give you the general idea:
WITH
L0 AS(SELECT 1 AS C UNION ALL SELECT 1 AS O), -- 2 rows
L1 AS(SELECT 1 AS C FROM L0...
December 10, 2014 at 4:51 pm
You could do it with a second step in the job that uses robocopy in a batch file. I a lot of clients that use that. Or SCHTASKS windowing...
December 8, 2014 at 6:53 am
What is the full statement you are using for the INSERT?
Are you using SSIS to do this? It has other capabilities that could be beneficial.
Since you are on SQL...
December 6, 2014 at 8:03 pm
That query pattern doesn't work (well) in SQL Server either!! 🙂 DEFINITELY need to refactor it!
December 5, 2014 at 2:06 pm
You should check sys.files for EVERY database on EVERY SQL Server instance that has access to that drive before deleting.
December 4, 2014 at 12:07 pm
In SQL Server 2012 the Windowing Functionality in SQL Server was VASTLY improved, including the addition of LAG and LEAD. This makes for a VERY simple and clean solution...
December 4, 2014 at 2:37 am
BI_NewBie (12/4/2014)
As i said i am very confused about partitioning thing that's the reason this question came up. Yes i have done my home...
December 4, 2014 at 1:36 am
I agree Pieter - sounds like a pretty simple Windowing Function query would do the trick. I agree with your analysis of the situation too.
December 3, 2014 at 11:35 pm
BI_NewBie (12/3/2014)
Thanks for your reply.
In my database, there is a transaction table whose row count is 117690142. There are index created on column but still when we fire any...
December 3, 2014 at 11:32 pm
mario17 (12/2/2014)
After making myself very confy around log and diff backups, I now looking how to make it easier: how to bring that increments but only from...
December 3, 2014 at 1:32 am
So the big fat table sucked hind-tit on the table scan, eh?? Not surprising. 🙂
How many reads was it?
Iterative (logical IO) hits on the same 8K page...
December 1, 2014 at 3:09 pm
So it's a seek. And actual ~= estimated rows.
Therefore my guess is that the table is so fat that the cost of scanning is less than the...
December 1, 2014 at 10:49 am
1) I don't see attached query plans
2) what are the estimated and actual rows throughout the query?
3) is the 8M-read seek from a nested loop join or some other form...
December 1, 2014 at 9:26 am
You need to filter out the records first. The optimizer can do a LOT with your query (even sometimes things you think it shouldn't do). Try something like...
November 30, 2014 at 11:29 am
Viewing 15 posts - 1,756 through 1,770 (of 5,843 total)