Reboot
Apologies, a minor reboot of the db server this morning. Somewhere we're leaking memory, more details later, so I had...
2005-07-14
1,506 reads
Apologies, a minor reboot of the db server this morning. Somewhere we're leaking memory, more details later, so I had...
2005-07-14
1,506 reads
When I started working at JD Edwards, I was a corporate administrator
on the windows network. Since the DBAs were a...
2005-07-12
1,549 reads
As Phill posts in his blog, we've had a couple interesting threads in the forums where the respect and tolerance...
2005-07-11
1,457 reads
I got a note that someone thought they shouldn't have to register on
the site and get a newsletter to read...
2005-07-07
1,392 reads
When I wrote the editorial for today on A Humbling Experience,
I was sure that it would generate a bunch of...
2005-07-07
1,518 reads
Andy and I had an interesting question on this today. He's trying to
hire a DBA and he had his first...
2005-07-05
1,596 reads
Blogging seemed like a big deal in 2004. At the 2003 PASS Summit, we were told by Microsoft that they...
2005-06-29
1,540 reads
At least here 🙂 Normally I blog over at http://www.dkranch.net/
That's usually personal stuff going on in my life, so I'll try...
2005-06-28
1,426 reads
A longer bio or profile text can go here in Markdown. There should be a lot more here
2001-01-01
25 reads
2001-01-01
30 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...
Telp/Wa 628218200203 Gedung Sutrado, Jl. Kenari 2 No.5 Lt. 1, RT.2/RW.3, Kenari, Kec. Senen,...
Telp/Wa 628218200203 Jl. Biak No.44 AB, RT.8/RW.11, Cideng, Kecamatan Gambir, Kota Jakarta Pusat, Daerah...
Telp/Wa 628217555651 Gedung Plaza Bank Index Ground, Jl. M.H. Thamrin No.57 Floor Suite GF-21,...
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