DBAs - Step away from production
I have worked as a DBA and also as a Sql Server developer and in many roles had full access...
2014-10-21
16 reads
I have worked as a DBA and also as a Sql Server developer and in many roles had full access...
2014-10-21
16 reads
I have worked as a DBA and also as a Sql Server developer and in many roles had full access...
2014-10-21
41 reads
I have moved my blog over to here, expect exciting posts about the things that interest me my previous blog was at: http://sqlserverfunctions.wordpress.com.
I hope you find something you enjoy...
2014-10-20
7 reads
I have moved my blog over to here, expect exciting posts about the things that interest me my previous blog...
2014-10-20
41 reads
I have moved my blog over to here, expect exciting posts about the things that interest me my previous blog...
2014-10-20
55 reads
There has been a gigantic shift in attitudes between development and operations, the devops movement, to create a streamlined, automated and high performing team of developers and infrastructure techs...
2014-10-20
7 reads
There has been a gigantic shift in attitudes between development and operations, the devops movement, to create a streamlined, automated...
2014-10-20
38 reads
There has been a gigantic shift in attitudes between development and operations, the devops movement, to create a streamlined, automated...
2014-10-20
51 reads
The Agile SQL CLub Privacy Policy (google Made me do it) The website uses cookies to track views and where you go, if you block cookies then they will...
2001-01-01
7 reads
The Agile SQL CLub Privacy Policy (google Made me do it) The website uses cookies to track views and where you go, if you block cookies then they will...
2001-01-01
10 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...
Tlp/Wa_Cs:0817-866-887 Jl. Brigjen Sudiarto No.294, Palebon, Kec. Pedurungan, Kota Semarang, Jawa Tengah 50273
Tlp/Wa_Cs:0817-866-887 Jl. Majapahit No.112, Pandean Lamper, Kec. Gayamsari, Kota Semarang, Jawa Tengah 50161
Tlp/Wa_Cs:0817-866-887 Jl. Jenderal Ahmad Yani No.24-26, Panderejo, Kec. Banyuwangi, Kabupaten Banyuwangi, Jawa Timur 68416
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