Viewing 15 posts - 7,171 through 7,185 (of 8,753 total)
jamie_collins (9/3/2014)
Worked great.Added DISTINCT to remove the duplicates but this is what I was after.
Thanks.
An alternative is to use the ROW_NUMBER function to filter the output
π
USE tempdb;
GO
;WITH BASE_DATA(Ticket,[User],[Priority]) AS
(SELECT...
September 3, 2014 at 10:47 pm
Jeff Moden (9/3/2014)
I didn't know there was ever a "good" case for XML. π
Well now you know as you've just made one:-D
π
September 3, 2014 at 10:36 pm
gbritton1 (9/3/2014)
select * from dbo.[DelimitedSplit8K](' ', ' ')...
September 3, 2014 at 10:32 pm
Jeff Moden (9/3/2014)
Eirikur Eiriksson (8/25/2014)
Jeff Moden (8/25/2014)
Eirikur Eiriksson (8/25/2014)
Feel I'm starting to repeat my self on the issue:pinch:
BWAAA-HAAA!!! Me too!
Switching from one delimiter to another is a form of...
September 3, 2014 at 10:17 pm
polkadot (9/3/2014)
Additionally,...
September 3, 2014 at 3:40 pm
GilaMonster (9/3/2014)
Eirikur Eiriksson (9/3/2014)
BTW, the bouncing is easy, it's the catching of the server exceptions which is trickyYou just need a large net. What's so difficult about that?
That of course...
September 3, 2014 at 3:13 pm
SQLRNNR (9/3/2014)
Eirikur Eiriksson (9/3/2014)
Alvin Ramard (9/3/2014)
Koen Verbeeck (9/3/2014)
xsevensinzx (9/3/2014)
September 3, 2014 at 2:51 pm
CELKO (9/3/2014)
It's a YACK, yet another combined key
I like that initialism! Put it together, then pull it apart over and over and over ..
Spot on! The subject is a...
September 3, 2014 at 2:49 pm
Alvin Ramard (9/3/2014)
Koen Verbeeck (9/3/2014)
xsevensinzx (9/3/2014)
September 3, 2014 at 2:19 pm
Luis Cazares (9/3/2014)
Koen Verbeeck (9/3/2014)
Bah. I couldn't resist it.Someone call the Relational Protection Agency, we have an offender...oh, wait. π
Reminds me of an old story, once upon a time the...
September 3, 2014 at 2:08 pm
Quick solution (if I got it right π
π
USE tempdb;
GO
;WITH BASE_DATA(Ticket,[User],[Priority]) AS
(SELECT Ticket,[User],[Priority] FROM
( VALUES
('A','ME' , 1)
...
September 3, 2014 at 1:57 pm
Ray K (9/3/2014)
Eirikur Eiriksson (9/3/2014)
Ray K (9/3/2014)
Eirikur Eiriksson (9/3/2014)
September 3, 2014 at 1:35 pm
Ray K (9/3/2014)
Eirikur Eiriksson (9/3/2014)
I share Sean's concern here, at least there should be a check for the key-number existence and adjustment if there is a key combination collision.π
Folks, you're...
September 3, 2014 at 12:51 pm
CELKO (9/3/2014)
I have an EventID that may have many sub events. ..How can I check what the EventID is, then concatenate a sequence number by the EventID?
Why are you...
September 3, 2014 at 12:39 pm
Koen Verbeeck (9/3/2014)
TomThomson (9/3/2014)
Luis Cazares (9/3/2014)
xsevensinzx (9/3/2014)
Koen Verbeeck (9/3/2014)
xsevensinzx (9/3/2014)
September 3, 2014 at 11:05 am
Viewing 15 posts - 7,171 through 7,185 (of 8,753 total)