If You’ve Just Taken Over a Team, Quickly Let Underperformers Go
Your job is not to maintain the status quo. When you take over a team, you need to evalute why...
2014-02-12
294 reads
Your job is not to maintain the status quo. When you take over a team, you need to evalute why...
2014-02-12
294 reads
“Sometimes you’ll make a mistake,” a chief executive says. “Life happens. But let’s not do it again. One of our...
2014-02-12
376 reads
Such as: Often, the best candidate for a given job isn’t the person who’s most skilled at fulfilling its primary...
2014-02-12
266 reads
That guy or gal over there going on and on about spindles and IOPS – that’s your SAN admin. For the...
2014-02-17 (first published: 2014-02-12)
1,638 reads
While you are writing and testing MDX queries in Microsoft SQL Server management Studio (SSMS), how many times you find...
2014-02-12
1,427 reads
Many of you knew this as common sense but a new paper suggests the costs outweigh the benefits.
from HBR.org http://ift.tt/1dUIwOD
2014-02-12
161 reads
Five Tips to Improve Your Data Analysis
It’s no secret that Big Data’s real challenge may not be the technology, but...
2014-02-12
403 reads
Time management resources for CEOs and CFOs
1. “An Approach To Developing People.”
One way to gain more time is to properly...
2014-02-12
361 reads
Studies show a strong connection between three critical talent metrics — productivity, retention, and engagement — and how well a company addresses...
2014-02-12
412 reads
By Steve Bolton
…………As mentioned previously in this amateur self-tutorial series on the most neglected component of Microsoft’s leading database server...
2014-02-17 (first published: 2014-02-11)
2,081 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