Scripts

Technical Article

Job Summary

This script lists the name, running and success status, last executed/currently executing step name, Average and Last duration, next run time and other related information about Jobs.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(10)

You rated this post out of 5. Change rating

2012-10-10 (first published: )

2,135 reads

Blogs

November 2026 Car Update: MPG Comparisons

By

I’ve become an EV guy. I was talking with a friend who was selling...

T-SQL Snapshot Backups on Availability Group Secondary Replicas Continued

By

In a previous post I talked about how we can use T-SQL Snapshot Backups...

Memories of PASS Data Community Summit 2026

By

A bit of a photo dump, but a few fun memories for me from...

Read the latest Blogs

Forums

Layanan resmi BCA KCP Sukun Hub/Wa:0821°820°0233 Jl. S. Supriadi No.65

By layanan_Bca88

Kontak CS 08218200233 Jl. S. Supriadi No.65, Sukun, Kec. Sukun, Kota Malang, Jawa Timur...

Layanan BCA KCP Galunggung Hub/Wa:0821°820°0203 Jl. Galunggung No.65 11

By m4rt1n4

Cs Bca 08218200203 Jl. Galunggung No.65 11 dan 65/A1, Gading Kasri, Kec. Klojen, Kota...

How to connect your SQL Server 2025 semantic search for free

By Daniel Calbimonte

Comments posted to this topic are about the item How to connect your SQL...

Visit the forum

Question of the Day

Finding the Black Friday Sales Ranking

We are tracking sales for Black Friday today. We have these aggregate values:

CREATE TABLE dbo.BlackFridaySales
(
    Product NVARCHAR(50) NOT NULL PRIMARY KEY,
    Units   INT          NOT NULL
);

INSERT INTO dbo.BlackFridaySales (Product, Units)
VALUES (N'55" TV',          900),
       (N'Air Fryer',       500),
       (N'Noise-Cancel Headphones', 500),
       (N'Robot Vacuum',    300);
I'm trying to get a ranking of the sales that would return 1, 2, 2, 3 for the product levels. Which query does this?

See possible answers