Bulk Insert Task SSIS – Path Specified Cannot be Found or File Does Not Exist
When using the Bulk insert task in SSIS, you might encounter an error stating that The File Does Not Exist...
2013-05-27
786 reads
When using the Bulk insert task in SSIS, you might encounter an error stating that The File Does Not Exist...
2013-05-27
786 reads
In a lot of industries there is a popular calculation called “Per Member Per Month Per 1000” calculation or the...
2013-05-24 (first published: 2013-05-20)
4,163 reads
In Reporting Services 2008 r2 and above there is a great tool called the Map tool. It is great for...
2013-04-10
975 reads
I have been doing interviews for Pragmatic works for the past few years and I have come across quite a...
2012-10-02
2,783 reads
Crystal Reports has a special field name “DataDate”. This date shows the last time the data on the report has...
2012-07-16
1,386 reads
PowerPivot is a powerful new tool from Microsoft that has been improved even more in the 2012 release, which you...
2012-06-12
1,540 reads
This week I was building power pivot models for a client pulling data from Oracle. One table kept giving the...
2012-05-29
1,287 reads
In SSIS 2012 there is a great new feature called environments. They can be thought of as a collection of parameters...
2012-05-07 (first published: 2012-05-02)
3,474 reads
I did a webinar during the 12 days of 2012 on how to use Report Builder 3.0. In this webinar...
2012-04-16
1,469 reads
If you want to execute a set of SSIS packages in SQL Server 2008 or 2005, you can do this...
2012-02-16
883 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