SQL Server – Saving Changes Not Permitted in Management Studio
SQL Server Management Studio does not allow you to save changes to a table which require table re-creation such as...
2013-04-09 (first published: 2013-04-01)
3,410 reads
SQL Server Management Studio does not allow you to save changes to a table which require table re-creation such as...
2013-04-09 (first published: 2013-04-01)
3,410 reads
There are different options available when you want to execute a .sql script file on a server. You can open...
2013-03-25
9,751 reads
When you create a new database in SQL Server without explicitly specifying database file locations, SQL Server created files in...
2013-03-18
2,200 reads
You can start/stop SQL Server services using Services Console or SQL Server Configuration Manager. You can also perform these operation...
2013-03-11
2,180 reads
To rename an object in SQL Server you can use sp_rename system stored procedure or you can do this via...
2013-03-04
2,013 reads
Finding database creation time is simple if database has not been detached from server. You can find database creation time...
2013-02-19
758 reads
SQL Server error logs can fill up quickly, and when you are troubleshooting something you may need to go through...
2013-02-08
858 reads
Earlier on my blog I posted about how you can attach a database using T-SQL when no log file is...
2013-01-30
2,715 reads
In SQL Server you can enable a Trace Flag at session (effective for current session only) level and global level....
2013-01-24
1,475 reads
You can use WITH CHECKSUM option to perform checksum when backup is created. When used this verifies each page for...
2013-01-15
2,352 reads
By HeyMo0sh
Microsoft Fabric (not to be confused with the more general term “fabric” in DevOps)...
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,...
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