Viewing 15 posts - 3,196 through 3,210 (of 8,761 total)
tripleAxe (9/15/2016)
September 16, 2016 at 1:27 am
There is another way of getting a single scan plan and that is to use an inline tally table, here are two harnesses, 5 and 50 columns respectfully.
π
5 column harness
USE...
September 16, 2016 at 1:21 am
Here is a 50 column test harness and the results on my old laptop (2nd Gen i5)
π
USE TEEST;
GO
SET NOCOUNT ON;
--http://www.sqlservercentral.com/Forums/FindPost1817858.aspx
-- TEST HARNESS
DECLARE @timer TABLE (
T_TXT...
September 16, 2016 at 12:10 am
Thank you TomaΕΎ for this nice write-up, very good indeed!
π
September 15, 2016 at 4:33 am
Added the Union All to the test harness
π
USE TEEST;
GO
SET NOCOUNT ON;
--http://www.sqlservercentral.com/Forums/FindPost1817858.aspx
-- TEST HARNESS
DECLARE @timer TABLE (
T_TXT VARCHAR(50) NOT NULL
...
September 15, 2016 at 4:12 am
Here is a simple test harness which you can use
π
USE TEEST;
GO
SET NOCOUNT ON;
-- TEST HARNESS
DECLARE @timer TABLE (
T_TXT VARCHAR(50) ...
September 15, 2016 at 12:26 am
Jeff Moden (9/14/2016)
Eirikur Eiriksson (9/14/2016)
Jeff Moden (9/14/2016)
Eirikur Eiriksson (9/13/2016)
First few rows of the output (wich obviously will not be the same again)
Not guaranteed to be true, though. Because of...
September 14, 2016 at 11:42 pm
Almost there, just needed a little adjustment π
π
SELECT
ACC.AccountUID AS 'AccountUID'
,ACC.AccountID AS 'AccountID'
,(SELECT
...
September 14, 2016 at 11:34 pm
Phil Parkin (9/14/2016)
Eirikur Eiriksson (9/14/2016)
Hi Phil,are you running the latest version with the latest updates? Had this problem few updates ago and after one update it went away.
π
I try...
September 14, 2016 at 9:22 am
The Dixie Flatline (9/14/2016)
Is it just me, or is the syntax for PIVOT/UNPIVOT *much* harder to follow than cross-tab or APPLY VALUES ?
Not only is it more contorted but also...
September 14, 2016 at 9:16 am
Jason A. Long (9/14/2016)
drew.allen (9/14/2016)
The phrase is "moot point".Fixed. π
Just looking at the execution plans... Summing 1st is quite a bit more efficient...
:pinch: Memory failure :pinch:
The cross apply will produce...
September 14, 2016 at 9:13 am
mahi123 (9/14/2016)
But requirement is need to generate XML in one folder , and whenever i open the XML XML need to have a header with <?xml version="1.0"...
September 14, 2016 at 8:40 am
Hi Phil,
are you running the latest version with the latest updates? Had this problem few updates ago and after one update it went away.
π
September 14, 2016 at 8:34 am
drew.allen (9/14/2016)
September 14, 2016 at 8:20 am
Jeff Moden (9/14/2016)
Eirikur Eiriksson (9/13/2016)
First few rows of the output (wich obviously will not be the same again)
Not guaranteed to be true, though. Because of the translations, as unlikely...
September 14, 2016 at 8:15 am
Viewing 15 posts - 3,196 through 3,210 (of 8,761 total)