Implementing Infinite Scroll With ASP.Net MVC 4
There are a lot of ways you could implement this but in this case I will be using the following…
ASP.Net...
2012-05-10
184 reads
There are a lot of ways you could implement this but in this case I will be using the following…
ASP.Net...
2012-05-10
184 reads
Indexed views are a really powerful and possibly underused feature of SQL Server. It’s basically a way of writing a...
2012-05-02
54 reads
The new Web API that comes with ASP.Net MVC 4 has been getting a lot of posts on creating RESTful...
2012-04-28
98 reads
From version 7.5 (Mango) WP7 runs a version of SQL Server CE which is all setup waiting for your applications...
2012-04-12
39 reads
Isolation levels in SQL Server control the way locking works between transactions.
SQL Server 2008 supports the following isolation levels
Read Uncommitted...
2012-02-18
504 reads
I recently hit what I would call a fairly serious limitation of MSBuild and that is that it cant build...
2012-02-17
92 reads
As part of the Windows Phone SDK you get the IsolatedStorageExplorerTool, this tool allows you to explore and update what...
2012-02-12
53 reads
When you are creating multiple threads that need to access a shared resource then you need to implement some form...
2012-02-05
63 reads
What is an app domain
An App Domain can be thought of as a kind of lightweight process. So What is...
2012-01-31
133 reads
Last FM Wrapper
You know that web project we created? You can completely forget about that for now as this is...
2012-01-14
57 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
Hi all, I just started using VS Code to work with DB projects. I...
Comments posted to this topic are about the item Fun with JSON II
Comments posted to this topic are about the item Changing Data Types
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 t1.[key] AS row,
t2.*
FROM OPENJSON(
(
SELECT t.* FROM #test_data AS t FOR JSON PATH
)
) t1
CROSS APPLY OPENJSON(t1.value) t2; See possible answers