SQL Server 2008 Books Online Have Been Updated
The version of SQL Server 2008 Books Online that was included with the RTM version has now been updated to...
2008-10-06
510 reads
The version of SQL Server 2008 Books Online that was included with the RTM version has now been updated to...
2008-10-06
510 reads
The PASS Community Summit 2008 is coming up fast (November 18-21, 2008), and if you are attending and you are...
2008-10-01
601 reads
As I have been talking to DBAs around the country, I have noticed a trend that many, if not most,...
2008-10-01
371 reads
MVP Brad McGehee walks you through the installation of SQL Server 2008 RC0 in this video. Brad covers the prerequisites, and the various options that are available in setup.
2008-08-05
4,767 reads
I spent most of my time at TechEd two weeks ago, volunteering to answer attendee's questions at Microsoft's SQL Server 2008 booth.
2008-06-25
356 reads
Steve Jones is taking well-earned break. In his guest editorial slot, Brad McGehee discusses three simple techniques to help DBAs manage their time more effectively.
2008-06-23
562 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