SQL Logical Query Processing Order
This probably applies more to beginners or people who have been using SQL for a while but have been wondering...
2013-06-03
512 reads
This probably applies more to beginners or people who have been using SQL for a while but have been wondering...
2013-06-03
512 reads
By default, SQL Server automatically assigns a value to the Identity Column for each new row inserted into the table....
2013-06-02
676 reads
I’m a little late to the celebration but on Friday some there was some exciting news regarding Power View was...
2013-06-02
952 reads
A Getting-Started and Survival Guide for planning, designing and building Tabular Semantic Models with Microsoft SQL Server 2012 Analysis Services....
2013-06-02
788 reads
I’ve been using the backup to azure feature for a short while now and I really like it. Shows I...
2013-06-01
881 reads
2 years ago I posted “16 papers and original articles on Big Data” It’s now time to review and...
2013-06-01
37 reads
2 years ago I posted “16 papers and original articles on Big Data” It’s now time to review and extend my original list. “Big Data” reached its Peak in...
2013-06-01
65 reads
According to Jason Strate (SQL Server MVP) there are 5 white papers ever SQL Server DBA should read. Considering my...
2013-06-01
1,028 reads
As a followup to my blog Power View for Multidimensional Models – Preview Available, the final version is now available via...
2013-05-31
1,836 reads
About 3 or 4 years ago I was talking with my wife and a colleague of hers that worked in...
2013-05-31
1,400 reads
By Steve Jones
This is timely, as I’m currently on a boat in the Adriatic taking a...
You can find the slides and SQL scripts for my session “Spice up your...
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
Comments posted to this topic are about the item Risk Vs Reward, The never...
Telp/Wa 628218200203 Jl. Cideng Timur No.11 F, RT.5/RW.4, Petojo Utara, Kecamatan Gambir, Kota Jakarta...
Telp/Wa 628218200233 Kem Tower, Jl. Landas Pacu Barat No.Kav 2 Blok B, RW.10, Gn....
We have this code that sets some status values and then queries them using the CHOOSE() function in SQL Server 2025.
CREATE TABLE Status
(
StatusID INT,
StatusDescription VARCHAR(20)
);
GO
INSERT dbo.Status
(
StatusID,
StatusDescription
)
VALUES
(0, 'Uncategorized'),
(1, 'Active'),
(2, 'Inactive'),
(3, 'Temp');
GO
SELECT CHOOSE(StatusID, 'Unknown', 'Active', 'Inactive', 'Temporary')
FROM Status;
When the SELECT runs, what is returned? See possible answers