T-SQL Tuesday #74: Be the Change Round-up
Thanks to everybody that participated in this month’s T-SQL Tuesday. A big thanks to everyone who wrote a participating blog...
2016-01-20
663 reads
Thanks to everybody that participated in this month’s T-SQL Tuesday. A big thanks to everyone who wrote a participating blog...
2016-01-20
663 reads
Welcome to my contribution for T-SQL Tuesday 74 being hosted by me. So special thanks to me for hosting it....
2016-01-12
738 reads
Happy New Year and welcome to another T-SQL Tuesday (number 74 to be exact). This time of the year, everyone...
2016-01-08 (first published: 2016-01-06)
2,138 reads
Earlier this week, the Database Strategy Team at my company was contacted about queries that were failing on one specific...
2015-12-10
1,595 reads
T-SQL Tuesday is a monthly community-wide blogging event created by Adam Machanic (blog|@AdamMachanic), and everyone is invited to particpate. This...
2015-12-08
1,894 reads
I’m sure most if not all of you are familiar with the meme “You had one job”. I was reminded...
2015-11-24
690 reads
Join me Friday, January 29, 2016 for a full day of performance tuning training as part of SQLSaturday 461 in...
2015-11-12
626 reads
PASS Summit 2015 is over and of course, no PASS Summit is complete without also attending SQLSaturday Oregon. Below are...
2015-11-04
614 reads
I’ve had some good times in the Seattle area. I’ve lived in the Seattle are since 1987 and graduated high...
2015-10-25
567 reads
Replication is still a major component of SQL Server today even with Availability Groups as an alternative to certain scenarios....
2015-10-01
685 reads
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...
If you've ever loaded a 2 GB CSV into pandas just to run a...
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