Viewing 15 posts - 2,086 through 2,100 (of 10,144 total)
SQL Galaxy (10/7/2015)
I have verified at DB level for Index farg and statistics are normal but still execution take long time to completed.
Actual Execution plan does not suggested any missing...
October 7, 2015 at 2:32 am
tindog (10/6/2015)
ChrisM@Work (10/6/2015)
I'm surprised it takes so long for so few rows. What...
October 6, 2015 at 5:42 am
DROP TABLE #Hierarchy
CREATE TABLE #Hierarchy (ID VARCHAR(20), [Description] VARCHAR(20), ParentID VARCHAR(20), [Level] CHAR(1))
INSERT INTO #Hierarchy (ID, [Description], ParentID, [Level])
SELECT 'B.01','Parent 1',NULL,'H' UNION ALL
SELECT 'B.01.01','Parent 1.1','B.01','H' UNION ALL
SELECT 'B.01.01.01','Parent 1.1.1', 'B.01.01','H'...
October 6, 2015 at 5:30 am
Perhaps the data which the SSIS package interacts with is not in cache the first time it's run.
I'm surprised it takes so long for so few rows. What exactly does...
October 6, 2015 at 5:23 am
sushil_dwid (10/6/2015)
I have query on grouping data on weekly basis..
1. Week should start from Monday to Sunday
2. It should not consider current week data(suppose user clicks on...
October 6, 2015 at 4:50 am
elham_azizi_62 (10/5/2015)
dear J Livingston.I mean dynamic generating columns.in fact if my column is null,column isn't shown.
This only makes sense if the entire column is NULL. Think about it. What...
October 6, 2015 at 1:34 am
Here's another method which begins with Ben's logic but returns 22 rows, same as the last solution I posted:
;WITH Matrix AS (
SELECT
x,
y,
s = x + y,
p =...
October 5, 2015 at 9:03 am
Hi Ben
I don't get a single value for this puzzle, but about 22 possible values. Here's the query:
;WITH Matrix AS (
SELECT
x,
y,
s = x + y,
p = x...
October 5, 2015 at 8:48 am
ramyours2003 (10/5/2015)
how to trouble shoot the performance of sql by suing the dmv's in sql 2012/14
Begin by reading these:
David Durant; Stairway to Indexes. A series of well-written articles to take...
October 5, 2015 at 5:15 am
TomThomson (10/3/2015)
ChrisM@Work (10/1/2015)
David Burrows (10/1/2015)
Many many moons ago when I frequented London pubs it was either RamRod and Special or 80/- Heavy
Gosh David you must be an old git too!
I...
October 5, 2015 at 3:26 am
Hi Sharon
To help us to help you, can you please set up a data script? You will want to include a minimum of two patients and a minimum of three...
October 5, 2015 at 3:09 am
A third possible solution:
SELECT
ta.cola1,
ta.cola2,
ta.cola3,
colb1 = COALESCE(tb1.colb1, tb2.colb1, tb3.colb1),
colb2 = COALESCE(tb1.colb2, tb2.colb2, tb3.colb2),
colb3 = COALESCE(tb1.colb3, tb2.colb3, tb3.colb3),
colb4 = COALESCE(tb1.colb4, tb2.colb4, tb3.colb4)
FROM dbo.tabA ta
LEFT JOIN dbo.tabB tb1 ON tb1.colb1 = ta.cola1
LEFT JOIN...
October 5, 2015 at 2:59 am
mw112009 (10/2/2015)
Lets forget the first query.. That takes only taking 90 milliseconds.. Ignore that for now.
This is what is taking...
October 5, 2015 at 1:30 am
mw112009 (10/2/2015)
Also the hinstp has only 479...
October 2, 2015 at 10:21 am
mw112009 (10/2/2015)
I have attached the stored proc code...
The entire stored proc gets run under 3 seconds.. I am in...
October 2, 2015 at 10:00 am
Viewing 15 posts - 2,086 through 2,100 (of 10,144 total)