Viewing 15 posts - 3,121 through 3,135 (of 8,761 total)
chris.asaipillai-624309 (10/2/2016)
OK if I need to extract another item from that pice of xml then do I write this folowing
SELECT
SX.OldRow.value('(Airline/@lastUpdatedByUserID)[1]','INT') AS lastUpdatedByUserID,
...
October 2, 2016 at 4:44 am
komal145 (9/30/2016)
date Sends Opens ...
October 2, 2016 at 2:26 am
Quick thought, I wouldn't expect the optimizer to do anything but abort the optimizing process on a time out when handling queries with hundreds of apply operators.
😎
October 2, 2016 at 2:21 am
Several ways of doing this, here is one fairly straight forward method
😎
Note: added few entries to the sample data.
USE TEEST;
GO
SET NOCOUNT ON;
--- Query parameters
DECLARE @ITEM ...
October 2, 2016 at 1:58 am
I know I'm splitting hairs but there are quite some differences between the different methods of producing inline tally or number sequences. The method DesNorton posted is quite efficient but...
October 1, 2016 at 7:50 am
Manic Star (9/30/2016)
djj (9/30/2016)
ChrisM@Work (9/30/2016)
Kaye Cahs (9/30/2016)
djj (9/29/2016)
Grumpy DBA (9/29/2016)
HappyGeek (9/29/2016)
CoatPaint
Brush
Hair
Today
Tomorrow
Evening
Deadline
September 30, 2016 at 9:15 am
BLOB_EATER (9/30/2016)
I'm super pumped at the moment 1 of my tutorials on Azure DWH will be moving over to the Microsoft website-wiki. :w00t:
Good job!!
😎
September 30, 2016 at 9:04 am
Sean Lange (9/30/2016)
Eirikur Eiriksson (9/29/2016)
September 30, 2016 at 7:14 am
My take on this would be to separate the current status and the status history as those are two different things and should not be combined in a model entity.
😎
Current...
September 30, 2016 at 2:30 am
As Sean rightly mentioned, there are many ways of parsing and extracting values from an XML. Many of those methods are similar in syntax but may vary hugely in performance....
September 29, 2016 at 11:53 pm
BLOB_EATER (9/29/2016)
September 29, 2016 at 5:27 am
You are very welcome Rodney!
😎
September 29, 2016 at 5:21 am
rodjkidd (9/28/2016)
Let me know if you want the 13 person one uploaded. As the additional extras are all over the place in that one! But going to take a...
September 28, 2016 at 11:17 pm
Hi Thomas,
from what I can see at the first glance is that the First_Value function does not have a POC (Partition, Order, Covering) index to work on and the cardinality...
September 28, 2016 at 11:30 am
Quick suggestion
😎
USE TEEST;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'tempdb..#LookUp') IS NOT NULL DROP TABLE #LookUp;
CREATE TABLE #LookUp (Loc int, EmpID int)
INSERT INTO #LookUp
VALUES (1,123)
,(1,222)
...
September 28, 2016 at 11:17 am
Viewing 15 posts - 3,121 through 3,135 (of 8,761 total)