When did SQL Server start and how long is the downtime window?
This is an old topic, and there have been quite a few blogs (and following comments) that illustrate how to...
2010-05-27
3,733 reads
This is an old topic, and there have been quite a few blogs (and following comments) that illustrate how to...
2010-05-27
3,733 reads
In case you are considering to apply SQL Server SP3 CU5 (http://support.microsoft.com/kb/972511) to your system, I'd like to point out one issue / bug we found with CU5.
2009-09-15
3,000 reads
In case you are considering to apply SQL Server SP3 CU5 (http://support.microsoft.com/kb/972511) to your system, I'd like to point out...
2009-09-12
1,568 reads
I was working on a table partition management task yesterday. The table is partitioned on a datetime column, and each...
2009-08-10
8,929 reads
I have been reading blogs from various sources, such as blogs on SSC, and on sqlblog.com etc. However on all...
2009-04-22
748 reads
What is literature? I find this definition is pretty intuitive at http://classiclit.about.com/od/literaryterms/g/aa_whatisliter.htm and also this one is more comprehensive at...
2009-04-19
1,011 reads
I always consider taking seminars and technical conferences as a key component in my DBA education framework
2009-02-03
1,484 reads
I always consider taking seminars and technical conferences as a key component in my DBA education framework
Last week (Jan 21...
2009-01-27
1,741 reads
I have tried hard to google a SQL query to find what objects exist in a specific filegroup, but in...
2009-01-16
12,548 reads
There is a saying that "The important is often not
urgent and the urgent not important". I could not agree more...
2009-01-03
18,338 reads
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...
By Steve Jones
Recently I ran across some code that used a lot of QUOTENAME() calls. A...
Comments posted to this topic are about the item Database Mail in SQL Server...
Comments posted to this topic are about the item Stairway to Reliable Database Deployment...
Comments posted to this topic are about the item QUOTENAME Quote Parameters
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