(Jeffrey Yao) How can I delete files older than [X] days in a folder using T-SQL?
Tag: sql server
Solving performance problems after large data change occurs
(Denny Cherry) If you’ve worked with SQL Server for any period of time you’ve problem run into what appear to be pretty random occurrences of SQL Server starting to have performance problems which go away after you rebuild the indexes. What’s going on to make the problem happen, and what’s solving t
SQL Server Temporary Object Caching
(Paul White) Creating a table is a relatively resource-intensive and time-consuming operation. The server must locate and allocate storage space for the new data and index structures, and make the corresponding entries in multiple system metadata tables. All this work has to be done in ways that wil
Azure SQL Database – Dynamic Data Masking
(Marcin Policht) Throughout recent articles published on this forum, we have described a number of security-related features built-into Azure SQL Database, including, most notably, Transparent Data Encryption, Row-Level Security, and Azure SQL Database Auditing.
SQL SERVER – FIX: Error: 913, Severity: 16 – Could Not Find Database ID 3. Database May Not be Activated Yet or May be in Transition – SQL Service
(Pinal Dave) This blog is a result of a Skype conversation with one of my clients. The issue, for which they contacted me, was that they were not able to stat SQL Service due to database may not be activated.
#0406 – SQL Server – Remember that spaces and blank strings are the same
(Nakul Vachhrajani) It was recently brought to my attention that a particular script was passing spaces when it should not. Here’s an example:
Creating a SQL container that’s always the Latest build
(Troy Ault) Want to stay current with the latest SQL server builds so you can test new features? Or want the ability to have a quick SQL instance up and running as a development environment?
Add SQL Server Analysis Services Role Members via PowerShell or XMLA
(Scott Murray) How can you add a user (member) to a SQL Server Analysis Services (SSAS) Database role via PowerShell or XMLA scripts?
SQL SERVER – Unable to Install Service Pack in Cluster – There was an Error to Lookup Cluster Resource Types
(Pinal Dave) Learning never stops for me with SQL Server. Even though I have written articles to solve many issues, I still get pinged from various clients and I find one new thing every day. In this blog post we will learn how to fix the error related to installing the service pack in the cluster.
SQL Server Function to Encrypt Integer Values
(Eli Leiba) You need a simple and fast tool to encrypt and decrypt integer values without having to deal with complex encryption keys, certificates and other complex encryption methods. In this tip we cover a simple approach to encrypt integers.
