2011-06-13 (first published: 2008-04-19)
5,848 reads
2011-06-13 (first published: 2008-04-19)
5,848 reads
A stored procedure for restoring a database up to the latest log backup from a file folder. Compatible with the backups made by standard SQL maintenance plan.
2011-06-10 (first published: 2011-05-27)
1,576 reads
When creating a backup that will be restored to a development database, you may need to mask PII information. This script will help you with that.
2011-06-09 (first published: 2011-05-25)
1,454 reads
Generacion de numero de registros y espacio usado en disco todas las tablas de la base de datos
2011-06-08 (first published: 2008-06-24)
535 reads
Easily remove duplicate records without temp tables by using a CTE.
2011-06-07 (first published: 2008-03-19)
6,932 reads
2011-06-03 (first published: 2008-08-18)
1,087 reads
2011-06-02 (first published: 2008-04-24)
9,282 reads
2011-06-01 (first published: 2007-09-02)
10,474 reads
Script generator to restore to a new DB. Designed on Ola Hallengren's backup solution.
2011-05-31 (first published: 2011-05-20)
960 reads
2011-05-30 (first published: 2011-05-23)
2,416 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...
Tlp/Wa_Cs:0817-866-887 Jl. MT. Haryono No.657, Wonodri, Kec. Semarang Sel., Kota Semarang, Jawa Tengah 50242...
Tlp/Wa_Cs:0817-866-887 Jl. Tomang Raya No.64, RT.2/RW.3, Jatipulo, Kec. Palmerah, Kota Jakarta Barat, Daerah Khusus...
Comments posted to this topic are about the item The New Software Team
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