November Snuck Up on Me
I should have gotten this post out last week with another follow-up this week. Well, looks like I will have...
2010-11-01
451 reads
I should have gotten this post out last week with another follow-up this week. Well, looks like I will have...
2010-11-01
451 reads
I have no intentions of kicking the bucket – ever. I have no intentions of getting old either. We’ll see how...
2010-10-26
776 reads
Finally I am getting around to posting my Quarterly Goal review. Last quarter’s review can be found here.
Start a Blog
This...
2010-10-26
743 reads
In case you hadn’t heard SQLSaturday #54 was Oct 23 in Salt Lake City. It was a dreary opening to...
2010-10-25
1,117 reads
Time for the ghouls and goblins to come out of the woodwork once again for another tale of deception and...
2010-10-14
2,804 reads
If you truncate a table, you cannot undo the action like you can with a delete. What is the difference between the two methods to remove data from a...
2010-10-12
2 reads
Time for the ghouls and goblins to come out of the woodwork once again for another tale of deception and...
2010-10-12
1,425 reads
Holy Cow, another month has flown by without much of a hint. We now have upon us another TSQL Tuesday....
2010-10-07
638 reads
This has been on my radar now for a little over a week. I ran across a request in the...
2010-10-05
748 reads
It is amazing how fast time moves the older (and slower) we as humans get. Looking back on time, it...
2010-10-03
624 reads
By Steve Jones
Redgate is a for-profit company. We look to make money by building and selling...
I’ve uploaded the slides for my Techorama session Microsoft Fabric for Dummies and my...
If you've ever loaded a 2 GB CSV into pandas just to run a...
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