When Things Align Unexpectedly
Things are happening
or: Learning to Not Look a Gift Horse in the Mouth
The stars seem to have aligned. I am...
2014-11-02
872 reads
Things are happening
or: Learning to Not Look a Gift Horse in the Mouth
The stars seem to have aligned. I am...
2014-11-02
872 reads
Is the name of your SQL Server correct?
Why Worry About The Server Name In SQL?
When the name of the actual...
2014-10-31
1,677 reads
Reading Time: 2 minutesIs the name of your SQL Server correct?
Why Worry About The Server Name In SQL?
When the name...
2014-10-31
1,017 reads
Reading Time: 2 minutes
What Are Database Triggers?
Do you know what triggers lurk in your database?
Triggers can be implemented to enforce...
2014-10-24
514 reads
What is a Foreign Key?
Do you trust your foreign keys?
A foreign key is a link between 2 tables that is...
2014-10-23 (first published: 2014-10-17)
7,703 reads
Reading Time: 4 minutes
What is a Foreign Key?
Do you trust your foreign keys?
A foreign key is a link between...
2014-10-17
321 reads
I am extremely excited to announce that I have just received the Microsoft MVP award for SQL Server for 2014.
For...
2014-09-30
896 reads
I am extremely excited to announce that I have just received the Microsoft MVP award for SQL Server for 2014.
For...
2014-09-30
951 reads
What is the RPO?
And why does it matter?
Join me as I walk through Jefferson Patterson Park’s Indian village and discuss...
2014-09-30
858 reads
What is the RPO?
And why does it matter?
Join me as I walk through Jefferson Patterson Park’s Indian village and discuss...
2014-09-30
1,068 reads
I’ve been thinking a lot lately about what it actually takes to make an...
By Steve Jones
Redgate is a for-profit company. We look to make money by building and selling...
I’ve uploaded the slides for my Techorama session Microsoft Fabric for Dummies and my...
Comments posted to this topic are about the item Even When You Know What...
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...
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