SQL 2012 has Launched
LAUNCH
If you have been hiding under a rock, you have probably not heard that SQL 2012 has launched. With it,...
2012-04-01
987 reads
LAUNCH
If you have been hiding under a rock, you have probably not heard that SQL 2012 has launched. With it,...
2012-04-01
987 reads
LAUNCH If you have been hiding under a rock, you have probably not heard that SQL 2012 has launched. With it, some really cool features are now available to...
2012-04-01
3 reads
On occasion you may ask yourself if there are any under used indexes in your database. If not you, then...
2012-03-26 (first published: 2012-03-20)
2,411 reads
On occasion you may ask yourself if there are any under used indexes in your database. If not you, then possibly a manager or client. Usually this comes up...
2012-03-20
1 reads
In October of 2011, I shared an example of a peculiar set of sort requirements. Today, I am going to...
2012-03-19
842 reads
Some code requirements can be met through various means including the use of a different collation - which means a lot of testing.
Related Posts:
Creative Database Naming January 2, 2020...
2012-03-19
3 reads
This is a short script to help the DBA with documentation purposes. This would come in handy especially in those...
2012-03-15
850 reads
This is a short script to help the DBA with documentation purposes. This would come in handy especially in those cases where you are consulting or you have taken...
2012-03-15
2 reads
I am bringing an oldie back with another twist. I recently ran into the need to correlate information between a...
2012-03-14
1,102 reads
I am bringing an oldie back with another twist. I recently ran into the need to correlate information between a couple of different queries that I like to use....
2012-03-14
4 reads
By James Serra
I’m honored to be hosting T-SQL Tuesday — edition #192. For those who may...
By Vinay Thakur
Continuing from Day 2 , we learned introduction on Generative AI and Agentic AI,...
Quite the title, so let me set the stage first. You have an Azure...
hi everyone I am not sure how to write the query that will produce...
Comments posted to this topic are about the item Rollback vs. Roll Forward
Comments posted to this topic are about the item Foreign Keys - Foes or...
I have some data in a table:
CREATE TABLE #test_data
(
id INT PRIMARY KEY,
name VARCHAR(100),
birth_date DATE
);
-- Step 2: Insert rows
INSERT INTO #test_data
VALUES
(1, 'Olivia', '2025-01-05'),
(2, 'Emma', '2025-03-02'),
(3, 'Liam', '2025-11-15'),
(4, 'Noah', '2025-12-22');
If I run this query, how many rows are returned?
SELECT *
FROM OPENJSON(
(
SELECT t.* FROM #test_data AS t FOR JSON PATH
)
) t; See possible answers