Additional Articles


External Article

Building a Custom Blocked Process Report

Blocking in SQL Server is normal behavior, but excessive blocking can lead to many complaints and is a symptom of poor performance. SQL Server contains a vast amount of information that can help when troubleshooting performance issues like blocking, but understanding and gathering that information when you need it is a lot of work. Darko Martinovic explains his solution for a custom blocking report.

2018-02-06

3,868 reads

Blogs

Using Prompt AI to Help Setup Data Analysis

By

I used Claude to build an application that loaded data for me. However, there...

An LLM Saved My ATtiny85 From Certain Death

By

I almost ordered parts for a circuit that would have destroyed itself the instant...

I recommend Smart Brevity (book) for communications

By

Following the advice in Smart Brevity improves communication.

Read the latest Blogs

Forums

Simplifying WHERE Condition with LIKE test on multiple columns

By Reh23

Good Evening, Is there a simpler way to rearrange the following WHERE condition: [Column_1]...

Which Table I

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Which Table I

Using Python notebooks to save money in Fabric: The Fabric Modern Data Platform

By John Miner

Comments posted to this topic are about the item Using Python notebooks to save...

Visit the forum

Question of the Day

Which Table I

I have this code in SQL Server 2022:

CREATE SCHEMA etl;
GO
CREATE TABLE etl.product
(
    ProductID INT,
    ProductName VARCHAR(100)
);
GO
INSERT etl.product
VALUES
(2, 'Bee AI Wearable');
GO
CREATE TABLE dbo.product
(
    ProductID INT,
    ProductName VARCHAR(100)
);
GO
INSERT dbo.product
VALUES
(1, 'Spiral College-ruled Notebook');
GO
CREATE OR ALTER PROCEDURE etl.GettheProduct
AS
BEGIN
    SELECT  ProductName
    FROM product;
END;
GO
When I execute this code as a user whose default schema is dbo and has rights to the tables and proc, what is returned?

See possible answers