Reset Identity Column in SQL
I’ll be honest, I am partially writing this because I always forget how to reset the identity column on a...
2011-08-11
1,338 reads
I’ll be honest, I am partially writing this because I always forget how to reset the identity column on a...
2011-08-11
1,338 reads
We have a few changes in the election process for PASS this year, one of them is that we have...
2011-08-11
656 reads
Nothing to say about today, Jonathan did really a great job describing Extended Events
and Baselining/Benchmarking to us, and his boss...
2011-08-11
1,070 reads
Call me a slacker. I have been postponing registering for Summit 2011. I wanted to be sure that I had the week available in order to attend. I finally...
2011-08-11
10 reads
Call me a slacker. I have been postponing registering for Summit 2011. I wanted to be sure that I had...
2011-08-11
510 reads
This has to be the best error I’ve ever seen:
Msg 195, Level 15, State 10, Line 2
‘SUM’ is not a...
2011-08-11
847 reads
Indexes can be great for boosting the performance of a query, but if an index is never used, it can...
2011-08-11
1,164 reads
The annual Code Camp is coming up on October 1st in Tallahassee and our local SQL group is trying to...
2011-08-10
802 reads
I have Denali installed on a virtual machine on my laptop and I’m working through evaluating it. Actually, I’m working...
2011-08-10
673 reads
First of all if you came out to my webinar this morning let me say a huge thank you! I...
2011-08-10
654 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