Blog Post: Transactions: Rolling back part of a transaction.
In my previous post I mentioned the fact that the ROLLBACK command rolls back the entire transaction all the way to the top level . If that is the case then can we roll back an inner transaction and...
View ArticleBlog Post: I’m presenting at the PASS Business Analytics Conference
I am fortunate enough to have been selected to give a presentation at the PASS Business Analytics Conference in San Jose, CA on May 7-9. Below is my presentation abstract along with more info about...
View ArticleBlog Post: Getting New Power Pivot Features & Other Office 2013 Updates
New Power Pivot Features Released Have you heard that Power Pivot just got a new Synonyms feature? Synonyms associate column (attribute) names in a data model with alternate terms so that the Q&A...
View ArticleBlog Post: Friday Followup For December 20, 2013
It’s Friday, time to look back at the most popular RealSQLGuy posts of the week. Because it’s Friday and you’re not doing any real work anyway. Posts That Were Popular This Week So, This Happened...
View ArticleBlog Post: Assign SQL Service Account with Group Policy
How do I assign and enforce a service account for the SQL Server Services with Active Directory Group Policy? The answer to this question requires that we step outside the DBA comfort zone since it...
View ArticleBlog Post: Reblog: December 13 to December 19
I’ve always been a fan of the feeling when I find an old blog post that’s got just the information that I need to solve a problem or answer a question. It’s that whole “cha-ching” – buried treasure!...
View ArticleBlog Post: Optimizing SQL Server Performance: Using Your Counters – Part 2
To help professionals address the myriad challenges involved with performance optimization, SQL Server experts Patrick O’Keeffe and Richard Douglas co-authored the “ Ten Tips for Optimizing SQL Server...
View ArticleBlog Post: #SQLSatNash #SQLSaturday I’m Going to Nashville!!
SQL Saturday Nashville is quickly approaching and here are 10 reasons that you should attend. 1. Wendy Pastrick , @ wendy_dance, Read Dirty to Me – Isolation Levels/User Impact Gotta be honest… The...
View ArticleBlog Post: Database Administration Questions
Here are the questions that I ran out of time to answer. Sorry for the delay!! 1. Max files to use detach and reattach ANSWER sp_attach_db only supports up to 16 files while CREATE DATABASE...
View ArticleBlog Post: Power BI Review, Part 2.5: Q&A (Now I’ve Used It With My Data)
A few months ago I posted a review of Q&A , the natural language query functionality in Power BI, based on the sample data sets that were then available. Last week, finally, we got the news that...
View ArticleBlog Post: SQL Server – Calculating elapsed time from DATETIME
Elapsed time can be calculated from DATETIME field by extracting number of hours/minutes and seconds. You can use below query to calculate elapsed time between two dates: -- Vishal -...
View ArticleBlog Post: SSIS For Loop Skip Files
When running a For Each Loop through a set of files, sometimes you will have specific files that you do not want to load. For example, I have a set of files named: Abc.txt Mno.txt Rts.txt Wln.txt...
View ArticleBlog Post: The DBAdmin ToolKit
In Getting to Know You(r SQL Server) , I retrieved some properties that look like they’d be very useful in other scripts: Default Data, Default Log, Backup Directory, SQL Data Root, Error Dump Dir ,...
View ArticleBlog Post: The Night Before Upgrade
I originally wrote this in December 2011. It’s been one of my most popular posts, so reposting it has become a Christmas tradition. Enjoy! ‘Twas the night before upgrade of the serving device Not an...
View ArticleBlog Post: SSMS Shortcuts and more
I went and voted for #tribalawards and when I was finished they offer you links to 6 different free PDFs. Not sure if they are the same for everyone but for me it included Grant Fritchey’s SQL Server...
View ArticleBlog Post: Power Query load settings
One point of confusion I see with Power Query is some people believe Power Query adheres to the Excel limit of a max of 1,048,576 rows that can be imported. However, there is a way around this limit....
View ArticleBlog Post: Last Minute Gift Ideas For Santa
Dear Santa, It’s been a long time since my last letter. I do hope this one finds you in good health and spirits as you come upon your busiest day of the year. I know how busy you get because you...
View ArticleBlog Post: The 12 days after release
On the first day after release my developer gave to me a performance problem on a crucial query On the second day after release my developer gave to me 2 deadlocked queries and a performance problem...
View ArticleBlog Post: Does Santa Understand SQL Server Profiler and Extended Events?
We all know how busy Santa will be today and tonight so we thought we would help him with Understanding SQL Server Profiler and Extended Events to Track Down Low-Performing Queries. Just in case he...
View ArticleBlog Post: 12 Days of Christmas 2013 Day 1
Last year I did a mini-series themed around the 12 Days of Christmas . I am going to do a similar series this year. Over the next 12 days, I will share short tidbits on an array of topics. The...
View Article