Viewing 15 posts - 316 through 330 (of 2,462 total)
Interesting technique Paul. Well done.
-- Itzik Ben-Gan 2001
January 16, 2017 at 5:42 am
Jeff Moden (1/7/2017)
Alan.B (1/3/2017)
I found out a few weeks back that my department is moving to Phoenix AZ. I did not chose to transfer so...
-- Itzik Ben-Gan 2001
January 10, 2017 at 1:53 pm
Fantastic article Hugo. I really love this stairway series - really great stuff.
-- Itzik Ben-Gan 2001
January 5, 2017 at 8:45 am
You can also try attaching you tables to Excel and format the data however you'd like there. Excel has become a great reporting tool in recent years.
-- Itzik Ben-Gan 2001
January 4, 2017 at 2:10 pm
I think Luis' solution is the way to go. To answer your question about the trailing hyphen - you could go with:
AND QuestionableColumn NOT LIKE '%-'
As Drew mentioned, this will...
-- Itzik Ben-Gan 2001
January 4, 2017 at 12:52 pm
Luis Cazares (12/27/2016)
Carrie Fisher is now one with the force.[/url] :crying:Can 2016 end already?
-- Itzik Ben-Gan 2001
January 3, 2017 at 9:45 pm
Sean Lange (1/3/2017)
-- Itzik Ben-Gan 2001
January 3, 2017 at 9:39 pm
mcfarlandparkway (1/3/2017)
Here we are returning 4 columns as I mentioned only one @NUM.There is another reason to use table valued function.
Switching gears a little... If your statement is in response...
-- Itzik Ben-Gan 2001
January 3, 2017 at 7:38 pm
drew.allen (1/3/2017)
Alan.B (1/3/2017)
-- Itzik Ben-Gan 2001
January 3, 2017 at 1:53 pm
I'm no expert at either but have worked with both. I'm going to assume that by, "Postgres on AWS" you are talking about Redshift.
My experience has been that a beefy...
-- Itzik Ben-Gan 2001
January 3, 2017 at 1:08 pm
So what you want is the MAX(COUNT) of sales for each (e.g. "GROUP BY") EmployeeID by Month and Year. Let's start with some sample data; since you did not provide...
-- Itzik Ben-Gan 2001
January 3, 2017 at 12:51 pm
Great post Steve, 5 stars.
I found out a few weeks back that my department is moving to Phoenix AZ. I did not chose to transfer so I'll be back...
-- Itzik Ben-Gan 2001
January 3, 2017 at 11:57 am
sgmunson (1/2/2017)
Jeff Moden (12/28/2016)
-- Itzik Ben-Gan 2001
January 2, 2017 at 8:35 am
Zososql (12/31/2016)
-- Itzik Ben-Gan 2001
December 31, 2016 at 5:58 pm
Phil Parkin (12/27/2016)
Nice, Alan. I saw the word 'split' and I was off like one of Pavlov's four-legged friends. Did not even consider alternatives.
😛
I did make the assumption that there...
-- Itzik Ben-Gan 2001
December 27, 2016 at 7:42 pm
Viewing 15 posts - 316 through 330 (of 2,462 total)