Viewing 15 posts - 6,391 through 6,405 (of 8,753 total)
SQLRNNR (12/26/2014)
Lynn Pettis (12/26/2014)
SQLRNNR (12/26/2014)
Lynn Pettis (12/23/2014)
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
December 26, 2014 at 12:21 pm
ScottPletcher (12/26/2014)
I don't understand the point of:"PARTITION BY (SELECT NULL)"
in the LAG. Why not just leave out "PARTITION BY"?
It's a habit which comes from the strange over clause defaults,...
December 26, 2014 at 12:07 pm
Hugo Kornelis (12/26/2014)
December 26, 2014 at 10:08 am
jgdil01 (12/24/2014)
December 25, 2014 at 10:50 pm
First of all, good job with the data and the DDL, made this easy;-)
Here is a quick window function solution, self explanatory and should get you passed this hurdle
😎
USE tempdb;
GO
SET...
December 25, 2014 at 2:54 pm
Luis Cazares (12/23/2014)
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
December 23, 2014 at 4:26 pm
Lynn Pettis (12/23/2014)
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
December 23, 2014 at 3:24 pm
Lynn Pettis (12/23/2014)
December 23, 2014 at 3:05 pm
Andre 425568 (12/23/2014)
December 23, 2014 at 2:57 pm
Quick question, can you script out the table including all indexes and post it, curious on how that looks?
😎
December 23, 2014 at 2:51 pm
GilaMonster (12/23/2014)
http://www.sqlservercentral.com/Forums/Topic1646163-391-1.aspxI'll just be in the corner sobbing softly...
While you are at it, pour 45 ml of good Gin over a ripe slice of lime and 3-4 chunky ice cubes,...
December 23, 2014 at 2:46 pm
LutzM (12/23/2014)
Differences: The code below does only one SELECT against the Process table and the result of the SELECT ist stored in...
December 23, 2014 at 4:33 am
Jeff Moden (12/22/2014)
Stefan Krzywicki (12/22/2014)
jasona.work (12/22/2014)
Stefan Krzywicki (12/22/2014)
Steve Thompson-454462 (12/22/2014)
Stefan Krzywicki (12/22/2014)
Steve Thompson-454462 (12/22/2014)
Brandie Tarvin (12/16/2014)
But still... To my mind, since I'm already fixing one part of the package, why...
December 23, 2014 at 1:46 am
nancy.lytle (12/22/2014)
Set NoCount On
Declare @LastRun varchar (50)
Declare @CreateFail varchar(50)
Declare @FailureCount int
Declare @Fail int
Set @LastRun =
(SELECT Process_ID, Process_Name, Last_Message_Time ...
December 23, 2014 at 1:21 am
Quick simple suggestion
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_DATA TABLE(TSTR VARCHAR(100) NOT NULL);
INSERT INTO @SAMPLE_DATA(TSTR)
VALUES ('<key>Children</key><integer>2</integer>')
,('<key>Children</key><integer>123</integer>')
,('<key>Children</key><integer></integer>')
;
DECLARE @children INT = 4;
SELECT
...
December 20, 2014 at 3:31 am
Viewing 15 posts - 6,391 through 6,405 (of 8,753 total)