Viewing 15 posts - 646 through 660 (of 2,458 total)
If you go the mapping table route do a search for "cardinal ordinal number list" or "... chart"... You may get lucky as someone out there may have already done...
-- Itzik Ben-Gan 2001
June 13, 2016 at 10:55 am
For a work-table free, sort-free, purely set-based way of handling this you could use getnumsAB[/url] and do this:
DECLARE @STARTDATE DATETIME = '06/05/2016',
@ENDDATE...
-- Itzik Ben-Gan 2001
June 13, 2016 at 10:27 am
durga.palepu (6/13/2016)
Your approach to provide hints so that I would work on actual solution is excellent so that I could learn my self.
Here follow's my solution implementations:
using...
-- Itzik Ben-Gan 2001
June 13, 2016 at 10:13 am
Just to add to what R.P. Rozema said...
Here is a good article about this technique for concatenating a string using this method: Creating a comma-separated list (SQL Spackle)[/url].
-- Itzik Ben-Gan 2001
June 13, 2016 at 9:56 am
briancampbellmcad (6/13/2016)
I'm not following the placing of the literal amounts into the SQL. Shouldn't I just be using field names
He's putting the example data into CTEs... It's the same as...
-- Itzik Ben-Gan 2001
June 13, 2016 at 9:44 am
MikeS. (6/10/2016)
-- Itzik Ben-Gan 2001
June 10, 2016 at 8:12 pm
Comment removed.
I missed the whole second page of this discussion...
-- Itzik Ben-Gan 2001
June 10, 2016 at 1:15 pm
Mike Is Here (6/9/2016)
Great article.
Thank you very much. π
So now we know the window aggregate function is the culprit. Since weβre not partitioning the data yet (but will in a...
-- Itzik Ben-Gan 2001
June 9, 2016 at 7:18 pm
Nice article John. Well done.
-- Itzik Ben-Gan 2001
June 9, 2016 at 7:12 am
Great article Hugo. Very well researched and written. I just started the series and look forward to the rest.
I have neen reading up on columnstore indexes recently and just read...
-- Itzik Ben-Gan 2001
June 8, 2016 at 7:57 pm
Jeff Moden (6/7/2016)
From the Article:
Bring on the one million row test harness!!!
Heh... I love it! It's like a war cry! π
Very cool article, Alan. Well done.
Hat's off...
-- Itzik Ben-Gan 2001
June 8, 2016 at 10:53 am
Ken Hiatt (6/7/2016)
While my SQL programming skills are...
-- Itzik Ben-Gan 2001
June 8, 2016 at 10:51 am
Thank you Kevin and Mauricio.
-- Itzik Ben-Gan 2001
June 7, 2016 at 10:19 am
Thanks Eirikur!
-- Itzik Ben-Gan 2001
June 7, 2016 at 4:49 am
Lowell (6/6/2016)
DennisPost (6/6/2016)
Thanks for taking the time to read and reply.
That approach won't work for us as the server is set to UTC and we need to be able...
-- Itzik Ben-Gan 2001
June 6, 2016 at 6:08 pm
Viewing 15 posts - 646 through 660 (of 2,458 total)