DB Mail error “File attachment or query results size exceeds allowable value of 1000000 bytes”
Issue : One email report is working fine from long time but suddenly it failed today with below error.
Error :
Msg 22051,...
2017-11-01
1,307 reads
Issue : One email report is working fine from long time but suddenly it failed today with below error.
Error :
Msg 22051,...
2017-11-01
1,307 reads
Issue: SQL Server Integration Service (SSIS) 2016 unable to connect from SQL Server Management Studio (SSMS) 17.0.
Error:
Connecting to the Integration...
2017-10-23
2,334 reads
Steps to configure schedule SSAS Cube \ OLAP database backups :-
1. For each SQL Server Analysis Services Environment. In order to...
2017-10-16
1,428 reads
DBCC CLONEDATABASE is new feature comes up with SQL Server 2014 Service Pack 2 and above. DBCC CLONEDATABASE is used...
2017-10-13 (first published: 2017-10-09)
2,443 reads
Database snapshot issue with sqlserverDatabase snapshot issue with sqlserverDatabase snapshot issue with sqlserverDatabase snapshot issue with sqlserverDatabase snapshot issue with...
2017-05-23
697 reads
Test Case for Mssql server11Test Case for Mssql server11Test Case for Mssql server11Test Case for Mssql server11 Test Case for...
2017-05-19
638 reads
2017-05-19
633 reads
database snapshot could not be created and the database or table could not be locked
2017-05-18
809 reads
DBCC CheckDB failed with error “database snapshot could not be created and the database or table could not be locked”
Error:...
2017-05-18
3,918 reads
The 2nd cumulative update release for SQL Server 2016 SP1 is now available for download at the Microsoft Downloads site. Please note...
2017-03-22
1,031 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 Risk Vs Reward, The never...
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...
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