INPUT and OUTPUT type parameters in stored procedures
Output-only parameters do not exist in the T-SQL procedures. They are all either input-only or input/output.
The OUTPUT keyword in the...
2017-03-07
413 reads
Output-only parameters do not exist in the T-SQL procedures. They are all either input-only or input/output.
The OUTPUT keyword in the...
2017-03-07
413 reads
Output-only parameters do not exist in the T-SQL procedures. They are all either input-only or input/output. The OUTPUT keyword in the procedure’s definition or its invocation, designates the input/output...
2017-03-07
36 reads
In this module you will learn how to use the Long Text Viewer Power BI Custom Visual. The Long Text...
2017-03-07 (first published: 2017-02-28)
2,313 reads
What is this?
Well if you read the name aloud "SQL Server Continuous Deployment in a box" then, if I have...
2017-03-07
478 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I have done my work correctly choosing the title for...
2017-03-07
16 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I...
2017-03-07
52 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I...
2017-03-07
62 reads
This weekend I set up some SQL vNext virtual machines, two on Windows and one on Linux so that I...
2017-03-07 (first published: 2017-02-27)
2,110 reads
This post is a reference of my examples for processing JSON data in SQL Server. For more detailed explanations of these functions, please see my post series on JSON...
2017-03-07
139 reads
Hi Folks,
Join Webinar on Webinar: Performance Troubleshooting Using Wait Statistics. Tue 3/07/2017 from 10:30 PM to 11:45 PM IST
Click [Here] to join
2017-03-07
485 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