Roopesh Uniyal

I have 20 years of progressive IT experience and have worked in different capabilities. I have worked with Data, Database, and Content management extensively in the last 15 yrs. I have worked in different capacities to manage structured, semi-structured, and unstructured data.

I have worked in the IT, Insurance, and Financial industry, which gives me an insight not only from an IT industry perspective but from a business vertical too. I have been working as Sr. Systems Architect and designed and implemented Content Management solutions and database solutions for enterprises in the last fifteen years.

I hold an MBA - Analytics degree from the University of Florida and a Bachelor of Commerce from India. I am a certified TOGAF Enterprise Architect and Certified Information Systems Auditor (CISA). I also own Oracle Database Administrator and CompTIA Security+ certification. I am also an AIIM and Scaled Agile PM/PO, certified practitioner.
  • Skills: Data, Database, Content Management, Web Management, Analytics, Reporting, Agile, Cloud, Enterprise Architecture

Blogs

T-SQL Tuesday #203: Risk and Reward

By

This is timely, as I’m currently on a boat in the Adriatic taking a...

dataMinds Connect 2026 – Slides & Scripts

By

You can find the slides and SQL scripts for my session “Spice up your...

How to Clear the SSMS Cache (SSMS 21 and Later)

By

How to Clear the SSMS Cache (SSMS 21 and Later) Updated...

Read the latest Blogs

Forums

Using CHOOSE()

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Using CHOOSE()

Re-Seeding a Broken Log Shipping Secondary (Without Touching the Primary)

By LukaMK

Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...

The DBA is Dead! Long Live the !

By Grant Fritchey

Comments posted to this topic are about the item The DBA is Dead! Long...

Visit the forum

Question of the Day

Using CHOOSE()

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