Transferring Logins to a Database Mirror
Transferring Logins to a Database Mirror I recently discovered that my book (Pro SQL Server 2008 Mirroring) has an older version of the script to copy logins to the mirror partner for database...
View ArticleT-SQL Tuesday #010: Indexes: To Be or Not To Be (a B-tree)
T-SQL Tuesday #010: Indexes: To Be or Not To Be (a B-tree) This blog entry is participating in T-SQL Tuesday #010, hosted this month by Michael J Swart (Blog|@MJSwart). You are invited to visit his...
View ArticleFind Cached Query Plans By Index Name
Find Cached Query Plans By Index Name A following question came in via the #sqlhelp hash tag on Twitter: Trying to find the plans using a specific index in the plan cache using XQuery – any ideas out...
View ArticleT-SQL Tuesday #16: Using Aggregate Functions in XML
T-SQL Tuesday #16: Using Aggregate Functions in XML This blog entry is participating in T-SQL Tuesday #16, hosted this month by Jes Schultz Borland (Blog|@grrl_geek). You are invited to visit her blog...
View ArticleT-SQL Tuesday #17: Using Apply to Demystify Deadlocks
T-SQL Tuesday #17: Using Apply to Demystify Deadlocks This blog entry is participating in T-SQL Tuesday #17, hosted this month by Matt Velic (Blog|@mvelic). You are invited to visit his blog to join...
View ArticleUsing Dynamic Values in XMLA
Using Dynamic Values in XMLA A question was raised on Twitter today via the #sqlhelp hash tag about passing parameter values to XMLA for a backup script. The popular answer at the time I saw it was to...
View ArticlePerforming Fast Searches of Query Plans
Performing Fast Searches of Query Plans I've made blog posts in the past on using the exist() method to search for query plans with specific attributes (e.g., Find Cached Query Plans By Index Name)....
View ArticleBuilding HTML Emails With SQL Server and XML
I’ve written a lot of custom reports in my days that output data as an HTML string and then sends it via email. It makes for an easy to read, colorful report, and PM’s and business folks love easy to...
View Article