Automating CRUD procedures generation using T-SQL (enhanced).
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
388 reads
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
388 reads
In this article I continue to explore the ways to secure the data via contextual views and describe the technique...
2018-10-18
524 reads
In this post we will discuss how to fetch data from a large dataset for web applications using pagination technique....
2018-10-17
413 reads
This post helps in deciding between choosing foreign key and check constraints in case we need to constraint the data...
2018-10-16
451 reads
We are often required to pass the data between different database procedures and functions. In this post I will review...
2018-09-06
323 reads
In this post I will show how in some cases we can split a long procedure to a small and...
2018-05-23
1,775 reads
I try to avoid dynamic SQL as much as possible and consider it as a necessary evil. However, in some...
2018-05-21 (first published: 2018-05-09)
2,510 reads
In this post you will find two small functions that convert binary value to a decimal one and vice versa.
2018-05-19
422 reads
Deployment process equally responsible for deploying both database objects as well as an initial state of the database/applications. In this...
2018-05-10
619 reads
Designing implementation of interface is as critical as designing interface itself. In this post we will discuss some advice on...
2018-04-14
1,299 reads
By Vinay Thakur
Continuing from Day 3 where we covered LLM models open/closed and their parameters, Today...
By Steve Jones
One of the nice things about Flyway Desktop is that it helps you manage...
By HeyMo0sh
Microsoft Fabric (not to be confused with the more general term “fabric” in DevOps)...
I'm fairly certain I know the answer to this from digging into it yesterday,...
Hi Team, I am trying to refresh the Azure Synapse Dedicated pool from production...
hi everyone I am not sure how to write the query that will produce...
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