Drop Index

Drop Index Re-create Index Dropping index is fast. Recreating index will take a longer time.

Sparse Column

Sparse columns are ordinary columns that have an optimized storage for null values. Sparse columns reduce the space requirements for null values at the cost of more overhead to retrieve nonnull values. Consider using sparse columns when the space saved is at least 20 percent to 40 percent.  Sources: https://docs.microsoft.com/en-us/sql/relational-databases/tables/use-sparse-columns?view=sql-server-ver15

Compress Database Backup Files with 7-Zip

7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as “archives”. It is developed by Igor Pavlov and was first released in 1999. 7-Zip uses its own 7z archive format, but can read and write several other archive formats. ZipFiles.cmd

Database Backup Log

Sources: https://www.mssqltips.com/sqlservertip/1601/script-to-retrieve-sql-server-database-backup-history-and-no-backups/

Database Table Definition List with Extended Property

Get a list of all tables in the database with their extended property value. Adding extended property to table. Update existing extended property to table. Note: Make sure to use “MS_Description" instead of "Description". This affects how documentation are generated. Sources: https://www.mssqltips.com/sqlservertip/5384/working-with-sql-server-extended-properties/

SQL Server Network Packet Size

The network packet size¬†option sets the packet size (in bytes) that is used across the whole network. Packets are the fixed-size chunks of data that transfer requests and results between clients and servers. The default packet size is 4,096 bytes. Note: Do not change the packet size unless you are certain that it will improve... » read more

Check Database Replica Status for Always On

synchronization_state Data-movement state, one of the following values. 0 = Not synchronizing. For a primary database, indicates that the database is not ready to synchronize its transaction log with the corresponding secondary databases. For a secondary database, indicates that the database has not started log synchronization because of a connection issue, is being suspended, or... » read more