info@techdevops.com | 437-991-3573 | Data Engineering Services
TechDevOps.com
Resources Tools Services
Experts in Microsoft SQL Server on Windows, Linux, Containers | Clusters, Always On, FCI | Migrations, Cloud, Performance






October 11, 2021

SQL Server Automated Database Migration using Backup & Restore Method (v2)
by BF (Principal Consultant; Architecture; Engineering)
FULL, DIFFERENTIAL, LOG
Read More
Tags DataMigration
September 15, 2018

T-SQL Compare sys.database_files with sys.master_files
by BF (Principal Consultant; Architecture; Engineering)
Output any differences with System Catalog Views
Read More
Tags DataMigration
August 14, 2018

T-SQL Encryption Status of a database
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_database_encryption_keys (Transact-SQL)
Read More
Tags DataMigration
May 22, 2018

T-SQL - Log Linked Servers
by BF (Principal Consultant; Architecture; Engineering)
[MASTER].sys.Servers, [MASTER].sys.linked_logins, [MASTER].sys.server_principals
Read More
Tags DataMigration
May 18, 2018

Automate DBCC UpdateUsage per select list of databases
by BF (Principal Consultant; Architecture; Engineering)
DBCC UPDATEUSAGE
Read More
Tags DataMigration
May 18, 2018

Automate DBCC UpdateStats per select list of databases
by BF (Principal Consultant; Architecture; Engineering)
Exec sp_updatestats
Read More
Tags DataMigration
May 14, 2018

T-SQL - List Databases, Logins & SQL Jobs
by BF (Principal Consultant; Architecture; Engineering)
master.sys.databases, master.sys.server_principals, msdb.dbo.sysjobs
Read More
Tags DataMigration
May 6, 2018

T-SQL Generate Logins for a specific list of databases for Migration purposes
by BF (Principal Consultant; Architecture; Engineering)
Use a Driver table for Database List
Read More
Tags DataMigration
April 29, 2018

Running SQL Server Post-Installation Checks
by BF (Principal Consultant; Architecture; Engineering)
Builds
Read More
Tags DataMigration
April 28, 2018

Automate SQL Server Database Data & Log File Growth Sizes
by BF (Principal Consultant; Architecture; Engineering)
sys.master_files, sys.databases, sysaltfiles
Read More
Tags DataMigration
April 28, 2018

Check Allocation Unit Size for Disks in a SQL Server System
by BF (Principal Consultant; Architecture; Engineering)
DISKPART
Read More
Tags DataMigration
April 28, 2018

SQL Server Automated Database Migration using Backup & Restore Method (v1)
by BF (Principal Consultant; Architecture; Engineering)
FULL, DIFFERENTIAL, LOG
Read More
Tags DataMigration
April 13, 2018

Automate XCOPY of Database Data & Log Files
by BF (Principal Consultant; Architecture; Engineering)
Useful for SQL Server Database Migrations that use DETACH & ATTACH process
Read More
Tags DataMigration
March 23, 2018

Using Microsoft Data Migration Assistant and Extended Events to capture any Deprecated Features
by BF (Principal Consultant; Architecture; Engineering)
sqlserver.deprecation_announcement, sqlserver.deprecation_final_support
Read More
Tags DataMigration
December 18, 2017

Automate Database Attach or Detach of all User Databases for a Migration
by BF (Principal Consultant; Architecture; Engineering)
sp_detach_db, sp_attach_db
Read More
Tags DataMigration
December 12, 2017

Find Long Running Queries in SQL Server, Queries with High Execution Counts, Query Cache Analysis
by BF (Principal Consultant; Architecture; Engineering)
Max Worker Time, Max Elapsed Time, Execution Counts, Last Elapsed Time
Read More
Tags DataMigration
November 30, 2017

Automate DBCC CHECKDB Per Instance
by BF (Principal Consultant; Architecture; Engineering)
Execute against each Database in the Instance + Log Results + Check for any errors + RaiseError(Alert)
Read More
Tags DataMigration
November 18, 2017

Enable or Disable All SQL Jobs
by BF (Principal Consultant; Architecture; Engineering)
MSDB..sysjobs
Read More
Tags DataMigration
November 9, 2017

T-SQL - Query all SQL Server Error Log Files
by BF (Principal Consultant; Architecture; Engineering)
xp_enumerrorlogs
Read More
Tags DataMigration
November 8, 2017

T-SQL - Check Statistics Last Updated and Update All Statistics
by BF (Principal Consultant; Architecture; Engineering)
sys.stats, sys.stats_columns, sys.columns, sys.partitions, sys.objects
Read More
Tags DataMigration
November 8, 2017

T-SQL - Find Missing Indexes - incl. Improvement Measure and Avg User Impact
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_db_missing_index_group, sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_details
Read More
Tags DataMigration
Future Events
DevIntersection
Microsoft Ignite
PASS Summitt
Popular Tags
SQLServer
TSQL
CloudComputing
Azure
SQLServerReplication
SQLServerPerformance
SQLServerHealthCheck
Powershell
AzureSQLDatabase
SQLServerAlwaysOn
DataMigration
SQLServerReplicationMonitor
AzureVirtualMachine
SQLServer2016
ExtendedEvents
Metrics
QueryTuning
ReportingServices
SQLServerAgent
WindowsFailoverCluster
SQLServerManagementStudio
SQLServerTransactionLog
DMVs
AzureStorage
SQLServer2017
Pinned Posts
Microsoft SQL Server Always On Availability Groups Architecture Design
Create a Microsoft SQL Server Audit Report using Powershell
SQL Space Monitor - Version 2
T-SQL - Constants vs Parameters vs Local Variables - Execution Plans, Statistics, Assumptions
SQL Server - File IO - Sizes, Usage, Stats - Write(Insert) vs Read(Select)
Azure Virtual Machines running SQL Server 2016 STD AlwaysON Availability Groups w/ Transactional Replication
T-SQL Transform Row Data into Columns using PIVOT
List all SQL Server Reporting Services Subscriptions
Calculate RTO(Recovery Time Objective) in AlwaysON Availability Groups
T-SQL Get Maximum Value from a list of Columns Values
SQL Server 2016 Compress() & Decompress()
JSON in SQL Server 2016
Temporal Tables in SQL Server 2016
T-SQL Merge
T-SQL Pivot Data


©2015 www.TechDevOps.com