Viewing 15 posts - 3,526 through 3,540 (of 8,761 total)
Brandie Tarvin (6/17/2016)
ZERO IS NOT A RATIONAL NUMBER!
Further proof...
June 17, 2016 at 8:25 am
Chitown (6/9/2016)
June 9, 2016 at 1:12 pm
Lynn Pettis (6/9/2016)
< different rant >Repeating what you posted and providing NO explanation does not help with clarity.
< /different rant >
Perfectly valid (it seems) exercise in politics 😀
😎
June 9, 2016 at 1:09 pm
Matt Miller (#4) (6/9/2016)
June 9, 2016 at 1:02 pm
Ed Wagner (6/8/2016)
jasona.work (6/8/2016)
SELECT A.COL1
, B.COL2
FROM TBLA A, TBLA B
There are only around 5...
June 9, 2016 at 6:02 am
Quick solution
😎
USE TEEST;
GO
SET NOCOUNT ON;
declare @x xml = '<SSIS:Parameters xmlns:SSIS="www.microsoft.com/SqlServer/SSIS"><SSIS:Parameter SSIS:Name="FileFolderName"><SSIS:Properties><SSIS:Property SSIS:Name="ID">{aaeb860f-66f6-40b9-aa99-487b880767d8}</SSIS:Property><SSIS:Property SSIS:Name="CreationName"></SSIS:Property><SSIS:Property SSIS:Name="Description"></SSIS:Property><SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property><SSIS:Property SSIS:Name="Required">0</SSIS:Property><SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property><SSIS:Property SSIS:Name="Value">C:\TransferIn\</SSIS:Property><SSIS:Property SSIS:Name="DataType">18</SSIS:Property></SSIS:Properties></SSIS:Parameter><SSIS:Parameter SSIS:Name="ArchiveFolder"><SSIS:Properties><SSIS:Property SSIS:Name="ID">{0b640567-dc04-44fe-9a3f-0494135326e2}</SSIS:Property><SSIS:Property SSIS:Name="CreationName"></SSIS:Property><SSIS:Property SSIS:Name="Description"></SSIS:Property><SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property><SSIS:Property SSIS:Name="Required">0</SSIS:Property><SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property><SSIS:Property SSIS:Name="Value">C:\Archive\</SSIS:Property><SSIS:Property SSIS:Name="DataType">18</SSIS:Property></SSIS:Properties></SSIS:Parameter></SSIS:Parameters>'
;WITH XMLNamespaces ('www.microsoft.com/SqlServer/SSIS'...
June 8, 2016 at 11:38 pm
drew.allen (6/6/2016)
Eirikur Eiriksson (6/6/2016)
June 7, 2016 at 5:46 am
Excellent article Alan, very nice work indeed!
😎
June 6, 2016 at 11:56 pm
Quick thought, the isnull statement is redundant ad null is never equal to null. It will on the other hand impede performance as the resulting execution plan will use scans...
June 6, 2016 at 9:43 am
Piling on, here is an easy way to remember this
😎
DECLARE @X_BYTES BIGINT = 10240000000000;
SELECT
@X_BYTES / POWER(CONVERT(BIGINT,2,0),10) AS KILO_BITES
,@X_BYTES / POWER(CONVERT(BIGINT,2,0),20) ...
June 6, 2016 at 7:14 am
leehbi (6/5/2016)
Thanks again for sharing. Modern T-SQL gives us many ways to skin a cat.
Would be interesting to know which method you choose, there is up to 25 times difference...
June 5, 2016 at 3:06 am
No mistery here, just a minor mistake in the third parameter of the LEAD function which is specifying 0 as the missing value / default. Simply replace this with NULL...
June 5, 2016 at 2:56 am
Jeff Moden (6/4/2016)
leehbi (6/2/2016)
I had a the best results from this query. Works really well over the huge table. Thanks 🙂
Which query is "this" query? A lot...
June 4, 2016 at 3:32 pm
ffarouqi (6/4/2016)
June 4, 2016 at 3:53 am
gideon_king (6/2/2016)
Most of...
June 2, 2016 at 11:20 am
Viewing 15 posts - 3,526 through 3,540 (of 8,761 total)