Data Governance Policy
What is a Data Governance Policy?
Data governance policy is concerned with how an organization collects, stores, accesses and maintains its...
2016-09-19
2,425 reads
What is a Data Governance Policy?
Data governance policy is concerned with how an organization collects, stores, accesses and maintains its...
2016-09-19
2,425 reads
Text Mining with RapidMiner for Loch Ness Monster Sightings
Text mining involves pulling root words from text in a system. In...
2016-02-11
505 reads
RapidMiner Overview
If you are searching for a data mining solution be sure to look into RapidMiner. RapidMiner is an open...
2016-01-21
572 reads
Azure Data Catalog
Now available in public preview is the Azure Data Catalog. The Data catalog provides an enterprise data repository...
2015-09-08
682 reads
SQL Server 2016 Stretch Database
One of the features in SQL Server 2016 that you will want to explore is the...
2015-08-17
1,300 reads
Machine Learning Data Sets
When starting out with data mining and machine learning you will need to have access to sample...
2015-08-07 (first published: 2015-08-04)
2,899 reads
What is SQL Server Polybase?
Coming in SQL Server 2016 is the ability to query relational tables as well as data...
2015-07-20
1,331 reads
I presented on how to become a BI developer at the Houston Area SQL Server User Group (HASSUG). This session...
2015-07-19
651 reads
Leveraging SQL Server Database Schema
Data warehouses typically pull data from various sources and combine the data into a common repository....
2015-06-24
691 reads
I am presenting the lunch keynote at the Toronto Chief Data Officer Summit on June 4th. My session is on...
2015-05-24
447 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 Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
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