DBA in Space: Behind the Scenes—Questions 2 & 3
Part 1 of Question 2—The question.Part 2 of Question 2—The follow up to the question.This is a continuation of my...
2011-11-21
643 reads
Part 1 of Question 2—The question.Part 2 of Question 2—The follow up to the question.This is a continuation of my...
2011-11-21
643 reads
This is a continuation of my DBA in Space journal.
In the opening of the first episode of DBA in Space,...
2011-11-18
638 reads
This is a continuation of my DBA in Space journal.
In this next series of blog posts, I am going to...
2011-11-17
683 reads
This is a continuation of my DBA in Space journal.
Friday, September 16, 2011
OMG. (This is the first time in my...
2011-11-16
613 reads
This is a continuation of my DBA in Space journal.
Monday & Tuesday, September 12-13, 2011
Today I make my “secret” journey to...
2011-11-15
560 reads
The DBA in Space contest ends November 18, 2011. If you haven’t entered yet, you still have time.
Filming DBA in...
2011-11-14
727 reads
In SQL Server 2005 and later, there is a database option called “forced parameterization”. When it is turned on, it...
2011-11-14
792 reads
(I’m ‘standing in for Brad, who is busy ..er.. somewhere, and I found this unpublished piece by Brad and I....
2011-11-03
1,418 reads
Selecting which hardware to run SQL Server on is often discussed among DBAs. So, for this month’s question, “What is...
2011-11-01
501 reads
Today we have a guest post from Steve Jones.
I survived SQL in the City in LA, and thanks to everyone...
2011-10-31
1,555 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 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