SQL Transparent Data Encryption (TDE)

SQL Transparent Data Encryption (TDE) Feature is a native feature of SQL Enterprise edition. Transparent Data Encryption is designed to protect data by encrypting the physical files of the database, rather than the data itself. Its main purpose is to prevent unauthorized access to the data by restoring the files to another server. With Transparent... » read more

How to Grant Permissions to run SQL Server Profiler for a non System Admin User

In order to run a trace against SQL Server you must be a member of sysadmin fixed server role or have the ALTER TRACE permission. Sources: https://www.mssqltips.com/sqlservertip/3559/how-to-grant-permissions-to-run-sql-server-profiler-for-a-non-system-admin-user/ https://learn.microsoft.com/en-us/sql/tools/sql-server-profiler/permissions-required-to-run-sql-server-profiler?view=sql-server-ver16

Always On Availability Group – Select Data Synchronization

Select “Automatic seeding” (default) if you have not created the database on the secondary replica and would like this wizard to create the database on the secondary replica based on the same setting as the primary replica. Use this option, if this is a small database. Select “Join only” if you already have already created... » read more

Upgrading SQL Server 2014 via Uninstall/Re-install

Process Detach databases. Uninstall SQL Server 2014 Install SQL Server 2016/2019 Reattach databases. Uninstall SQL Server 2014 (v12) To uninstall SQL Server instance, go to Control Panel and then Programs and Features. Select and right-click on Microsoft SQL Server 2014 and select Uninstall/remove. Upgrade to SQL Server 2016 (v13) SSMS Tool https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15 Upgrade to SQL... » read more

SQL Server Transaction Log Backup Errors

Common Transaction Log Failure Erros Make sure all databases in transaction log job are marked as Full backup. Make sure there is at least one successfully full database backup. Disable transaction log backup job when running a full database backup job. Back up the log Under the full recovery model or bulk-logged recovery model, if... » read more

Cross Join

The CROSS JOIN joined every row from the first table (T1) with every row from the second table (T2). In other words, the cross join returns a Cartesian product of rows from both tables. In general, if the first table has n rows and the second table has m rows, the cross join will result in n... » read more