My SQL PASS Summit Adventures part 1
I started my PASS Summit a little early this year. I arrived in Seattle on Friday night, November 5th, around...
2010-11-16
587 reads
I started my PASS Summit a little early this year. I arrived in Seattle on Friday night, November 5th, around...
2010-11-16
587 reads
What a long week at PASS (stay tuned for more details about my trip). Now that it's over back to...
2010-11-14
670 reads
I want to apologize for posting this so late, but there is a SQL Lunch today and one tomorrow. Hope...
2010-11-03
635 reads
VOTE VOTE VOTE VOTE VOTE VOTE VOTE!!!!!!!!!!
Vote here: http://www.zoomerang.com/Survey/WEB22BD59JCQBT
Honestly, I want each of reading my blog to vote for our...
2010-11-01
488 reads
Tyler Chessman of Microsoft has started a Business Intelligence Users Group in Houston. The group will meet online and onsite quarterly. ...
2010-10-19
1,323 reads
Well I am sure most of you noticed that I haven't posted an MDX puzzle in some time. After much...
2010-10-19
575 reads
I am excited to announce a new speaker to the SQL Lunch, Ryan Adams. Ryan will be discussing Database Mirroring...
2010-10-18
773 reads
After making the trip last weekend to Houston for Houston Techfest with the kids I am off again, but this...
2010-10-14
561 reads
I will be speaking at the South Florida SQL Server User Group on October 13 via Live Meeting. My topic...
2010-10-12
443 reads
As an active speaker and volunteer in the SQL Server community I am often asked why do I do it? ...
2010-10-12
541 reads
If you've ever loaded a 2 GB CSV into pandas just to run a...
By James Serra
What problem is Fabric Ontology trying to solve? For years, most data conversations have...
By Steve Jones
Recently I ran across some code that used a lot of QUOTENAME() calls. A...
Comments posted to this topic are about the item The New Software Team
Comments posted to this topic are about the item Database Mail in SQL Server...
Comments posted to this topic are about the item The string_agg function
We create the following table and then insert some records in it:
create table t1 ( id int primary key, category char(1) not null, product varchar(50) ); insert into t1 values (1, 'A', 'Product 1'), (2, 'A', 'Product 2'), (3, 'A', 'Product 3'), (4, 'B', 'Product 4'), (5, 'B', 'Product 5');What happens if we execute the following query in both Sql Server and PostgreSQL?
select id,
category,
string_agg(product, ';')
over (partition by category order by id
rows between unbounded preceding and unbounded following) as stragg
from t1; See possible answers