Play the T-SQL Alphabet Game
I recently had the opportunity to play the T-SQL Alphabet Game, which was introduced to me by SQL Server MVP,...
2009-01-21
1,254 reads
I recently had the opportunity to play the T-SQL Alphabet Game, which was introduced to me by SQL Server MVP,...
2009-01-21
1,254 reads
The 2009 devLINK Technical Conference will be held in Nashville, TN, August 13-15, 2009. This three-day conference provides technical content...
2009-01-15
474 reads
If you couldn’t make it to the 2008 PASS Community Summit in Seattle, WA last fall, perhaps you can attend...
2009-01-14
670 reads
If you live in the Colorado area, you might want to attend the upcoming, free Rocky Mountain Tech Tri-Fecta event,...
2009-01-13
423 reads
SQLBits is the largest free SQL Server conference in Europe, and will include 20 hours of SQL Server sessions to...
2009-01-13
701 reads
With the current economic downturn, many of us are wondering if we will still have a job by the end of this new year. Although DBAs are still in demand, no DBA job is 100% immune from layoffs. Brad suggests that now is the perfect time to invest in yourself.
2009-01-08
195 reads
If you are thinking about attending DevTeach/SQLTeach in Vancouver this June 8-12, 2009, and you haven't registered yet, you need...
2009-01-06
431 reads
Traditionally, analyzing Performance Monitor data has not been an easy task. It often involved viewing Performance Monitor logs in graph...
2008-12-23
3,780 reads
If you haven't done so, check out this Simple-Talk Editorial by Tony Davis, in addition to all the comments the...
2008-12-23
706 reads
In a previous blog post, I suggested that less than professional content, that you or others post on the Internet...
2008-12-17
1,163 reads
By Steve Jones
Redgate is a for-profit company. We look to make money by building and selling...
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...
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