Webcast Tomorrow: Building an Auditing Framework for SQL Server
Faced with auditing SQL Server on a regular basis with no 3rd party tools? Where do you start? That’s what...
2016-10-12
452 reads
Faced with auditing SQL Server on a regular basis with no 3rd party tools? Where do you start? That’s what...
2016-10-12
452 reads
This is a reminder that I’ll be giving a webinar today on managing SQL Server Agents jobs in a SQL...
2016-09-08
401 reads
This is a reminder that we’ll having a #SQLChat this afternoon at 12 PM EDT. Here are the details:
SQLChat: Do...
2016-09-07
445 reads
I’m participating in two community activities this week. One is a #SQLCchat on Twitter and the other is a webinar...
2016-09-06
373 reads
I recently collaborated with Idera to produce a short whitepaper on the top 5 things to audit in SQL Server...
2016-07-27
1,042 reads
Microsoft, you’re killing me. This is the warning I received when typing in a password for Office 365:
I blinked when...
2016-06-16 (first published: 2016-06-10)
4,099 reads
If I’m doing any manual work with T-SQL, I always begin every set of data change operations with BEGIN TRAN...
2016-06-13 (first published: 2016-06-09)
3,649 reads
Recently, a member of the community lamented that folks weren’t willing to provide an email address for free training. This...
2016-06-09
460 reads
I’m at a conference, specifically a security conference. So I looked at the available WiFi connections. Among the conference and hotel specific...
2016-06-07
456 reads
I’ve completed both of my presentations at the 2016 Techno Security and Forensics Investigation Conference (#technosecurity). If you were able...
2016-06-07
529 reads
By Steve Jones
I’ve become an EV guy. I was talking with a friend who was selling...
In a previous post I talked about how we can use T-SQL Snapshot Backups...
By Steve Jones
A bit of a photo dump, but a few fun memories for me from...
Comments posted to this topic are about the item How to connect your SQL...
Comments posted to this topic are about the item Finding the Black Friday Sales...
Earlier this week I had an issue with a Win 8.1 laptop I was...
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