Speaking at SQL Saturday #22 - Pensacola, FL
If you are near Pensacola, FL this weekend, I will be speaking at their SQL Saturday on June 5th, 2010. I will...
2010-06-02
751 reads
If you are near Pensacola, FL this weekend, I will be speaking at their SQL Saturday on June 5th, 2010. I will...
2010-06-02
751 reads
One of my quarterly goals is to get speakers for the SQL Lunch webcasts. Q1 and Q2 of 2010 are...
2010-06-01
483 reads
To start, first download and install the Microsoft OLE DB Provider for DB2. Click here to download. After it is...
2010-05-26
21,833 reads
I realized this morning that I will be participating in three SQL Events this week and I want to share...
2010-05-23
580 reads
Report Builder 3.0 offers many new features to its users. One of the best features, in my opinion, is the...
2010-05-18
1,830 reads
SQL Server Reporting Services R2 – Publishing Report Parts
SQL Server Reporting Services R2 (SSRS) allows report developers to not only publish...
2010-05-16
4,193 reads
First, I would like to thank all that have attended and supported the SQL Lunch during our first year. We...
2010-05-13
692 reads
Sparklines are new to Microsoft Excel 2010 and Reporting Services 2008 R2. In this post I will outline the steps...
2010-05-09
2,538 reads
I know it’s kind of late to write a review of my first quarter goals, since we are well into...
2010-05-07
1,096 reads
I recently gave a presentation on SQL Server Performance Tuning via Live Meeting. I discussed how you could use the...
2010-05-07
1,056 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