Why Is My VARCHAR(MAX) Variable Getting Truncated?
Watch this week’s episode on YouTube.
Sometimes SQL Server doesn’t do what you tell it to do.
Normally that’s ok – SQL is...
2018-05-15
1,013 reads
Watch this week’s episode on YouTube.
Sometimes SQL Server doesn’t do what you tell it to do.
Normally that’s ok – SQL is...
2018-05-15
1,013 reads
Watch this week's video on YouTube
Watch this week's episode on YouTube.
Sometimes SQL Server doesn't do what you tell it to do.
Normally that's ok - SQL is a declarative language...
2018-05-15
7 reads
Watch this week's video on YouTube
Watch this week's episode on YouTube.
Sometimes SQL Server doesn't do what you tell it to do.
Normally that's ok - SQL is a declarative language...
2018-05-15
10 reads
This post is a response to this month’s T-SQL Tuesday #102 prompt by Riley Major. T-SQL Tuesday is a way...
2018-05-08
650 reads
This post is a response to this month's T-SQL Tuesday #102 prompt by Riley Major. T-SQL Tuesday is a way for SQL Server users to share ideas about different...
2018-05-08
1 reads
This post is a response to this month's T-SQL Tuesday #102 prompt by Riley Major. T-SQL Tuesday is a way for SQL Server users to share ideas about different...
2018-05-08
4 reads
Check out this week’s episode on YouTube.
Recently I received a great question from an attendee to one of my sessions...
2018-05-07 (first published: 2018-05-01)
1,973 reads
Watch this week's video on YouTube
Recently I received a great question from an attendee to one of my sessions on JSON (what's up Nam!):
At first glance it sounds like...
2018-05-01
3 reads
Watch this week's video on YouTube
Recently I received a great question from an attendee to one of my sessions on JSON (what's up Nam!):
At first glance it sounds like...
2018-05-01
4 reads
SQL Server recovery models define when database transactions are written to the transaction log. Understanding these models is critical for...
2018-05-03 (first published: 2018-04-24)
2,977 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 The New Software Team
Comments posted to this topic are about the item Database Mail in SQL Server...
Comments posted to this topic are about the item The string_agg function
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