Submitted PASS Board Of Directors Application
Well after much deliberation I have decided to submit an application for the PASS Board of Directors. I embark on...
2009-08-31
1,417 reads
Well after much deliberation I have decided to submit an application for the PASS Board of Directors. I embark on...
2009-08-31
1,417 reads
I recently submitted an article to SQLServerCentral about my adventures in upgrading my existing SSRS 2005 instance to 2008. In...
2009-08-28
598 reads
As most of you know I am hosting a bi-weekly Live Meeting event called SQLLunch. I recently purchased www.sqllunch.com and...
2009-08-28
732 reads
I just submitted my session for SQL Saturday #21 in Sunny Orlando Florida. I have been working on a presentation...
2009-08-27
658 reads
About two years ago I started www.TSQLScripts.com, and initially the response was great. Within two weeks I had received about...
2009-08-26
614 reads
I really enjoy reading technical articles. They often enlighten me on new technologies or provide me with a new way...
2009-08-24
945 reads
WARNING: This may be very obvious to most of you. However, several people that I have encountered did not realize...
2009-08-21
37,272 reads
Well we had a really good meeting this week at our User Group. There were about 17 physical attendees and...
2009-08-19
859 reads
Recently I have been involved in lots of projects involving replication. I have done some things to make replication work...
2009-08-19
1,759 reads
Recently I have been involved in lots of projects involving replication. I have done some things to make replication work...
2009-08-17
1,278 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