Setup SQL Server 2008 R2 Database Mirroring with Automatic Failover Across the Internet
Learn how to setup SQL Server 2008 R2 Database Mirroring with Automatic Failover Across the Internet via VPN and Host File configurations.
Learn how to setup SQL Server 2008 R2 Database Mirroring with Automatic Failover Across the Internet via VPN and Host File configurations.

In this tip we look at different approaches to changing the SQL Server collation for the instance, database and table columns.
I want to create T-SQL scripts to fix index fragmentation and to send me an email notification after the index rebuilds or reorgs. I know I can create maintenance plans, jobs and use database mail to do this, but how can I customize this process to only

Learn how to roll-up multiple rows into one row and one column with concatenation in SQL Server with FOR XML, STUFF and STRING_AGG.