How to delete large number of rows in SQL Server
Deleting the Information from Large Tables
Most of the time it happens for Developers or DBA’s or BI experts to delete all the information of a table consisting of several thousands of records.
To this end, there are various methods…
Microsoft SQL Server Locks and Transaction Isolation Levels
Introduction
Maintaining data integrity and durability are among the basic principles of any RDBSM. As one of the well-known RDBMSs, SQL Server is no exception to this rule and has benefited from the concept of Transactions. Based on the…
How to issue SSL certificate and configure Microsoft SQL Server to use issued SSL certificate
In this article we will show you how to create SQL Server SSL Certificate template and sending SSL Certificate Signing Request (CSR) from that template to CA server, also we will issue requested certificate and use it on SQL Server machine.…
How to install and configure Microsoft Certification Authority (CA) Services
In this article we will show you how to install and configure your first CA service across your domain environment. This step is essential if you want to encrypt SQL Server communications via SSL certificates (Until Microsoft SQL Server…
Deleting records from the large tables with minimum transaction log footprints
While working as a DBA or developer, there might be some cases that you need to keep a very limited number of records in a large table and remove the remaining records (for example, you may wish to keep 1000 records in a table containing…
How to use Transactions in SSIS (SQL Server Integration Services)
Introduction
As you know, transactions are units of work which performed against a database. SQL Server makes uses of this concept for Consistency and Durability of data in a system. Due to Atomicity feature, transaction or all the…
How to Add logfile to suspect database when full log size?
Adds a log file to a file group when recovery cannot complete on a database due to insufficient log space (error 9002). After the file is added, sp_add_log_file_recover_suspect_db turns off the suspect setting and completes the recovery of…
How to Adds a data file to a filegroup when recovery cannot complete on a database
Adds a data file to a filegroup when recovery cannot complete on a database due to insufficient space on the file group (error 1105). After the file is added, this stored procedure turns off the suspect setting and completes the recovery of…
SQLSERVER 2017 CU3 and later: Query Store notice
Query Store notice
If you use the Query Store feature, and you have previously installed Cumulative Update 2 (CU2) (14.0.3008.27), the following requirement applies to you:
After you install Cumulative Update 3 (CU3) (14.0.3015.40) or a…
SQL Server 2019 now available on Ubuntu 18.04, supported on SLES 12 SP5
SQL Server 2019 package native to Ubuntu 18.04 ecosystem, fully supported for production use, starting with CU3.…