Blog Post: Scripting Objects with PowerShell
The ability to script out the definitions of objects is valuable to any DBA. Most of us are intimately familiar with SQL Server Management Studio’s capabilities in this regard. Simply right-click on...
View ArticleBlog Post: ISPACs – Got To Love Em
Being a DBA and working with various teams, I have become accustomed to deploying SSIS packages. I’ll even go back further and, dare I say, DTS packages (I hope everyone did not just fall on the floor...
View ArticleBlog Post: Solutions, Action, Results: Jenkon Dramatically Reduced Resolution...
As a busy DBA, you are constantly pressed for time. You feel the pressure from your manager to work faster and more efficient—everyday. What would you think if we told you that you could reduce your...
View ArticleBlog Post: New Database Backup Options in SQL Server 2014
Short article on database backup options in SQL Server 2014. http://dbfriend.blogspot.com/feeds/posts/default?alt=rss
View ArticleBlog Post: Automated Source Control: A Librarian For Your Database Objects,...
One of the biggest headaches in most development groups that do any sort of SQL Server work is that of source control. There are some commercial products that attempt to solve this headache, and from...
View ArticleBlog Post: Snapshot
Esse script não tem nada de complexo, ele serve mais para ajudar a criar de uma forma dinâmica o SnapShot de uma base. Montei ele para funcionar da forma mais genérica possível, para bases com 1...
View ArticleBlog Post: Friday Followup For August 22, 2014
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 Cheating DBCC To Fix...
View ArticleBlog Post: How to extract the contents of .MSP files
I had encountered an issue while installing a SQL Server service pack. The resolution for it was to replace the existing SQL Server binaries from that of a Service Pack. To extract the contents of a...
View ArticleBlog Post: Reblog: August 15 to August 21
Photo credit – Mike Lynch A good cure to a creepy doll is a good old post that is still useful. In this post, I’m going back over some of the posts that came out in this week in previous years. Having...
View ArticleBlog Post: DBA Tunnel Vision
One of the things hammered into you in Firefighting training, Law Enforcement training, defensive gun use training and many other forms of training is “ Do not develop tunnel vision .” There is a...
View ArticleBlog Post: Resolving Errors from Deployment of Database to Azure SQL DB
This week our team at BlueGranite decided that the sample relational database called ContosoRetailDW would be best located for our demo & training purposes in Azure as a SQL Database. Below are...
View ArticleBlog Post: Power Query Functions That Return Functions
You’re probably aware that, in Power Query, a query can return a function. So for example here’s a very simple query (so simple that no let statement is needed) called MultiplyTwoNumbers with the...
View ArticleBlog Post: The amazing never shrinking heap
This is a quick demo of a little “trick” with heaps I’ve known about for a couple of years. However until recently I could never duplicate it on purpose. (You can read that as I’ve had a production...
View ArticleBlog Post: Automated Source Control: A Librarian For Your Database Objects,...
I assume that by now you’ve tried the script from Part 1 , and have seen how easy it is to script out your database objects using Powershell. The resulting scripts are the standard DDL scripts that...
View ArticleBlog Post: How to kill a negative SPID (like SPID -2 or -3) in SQL Server?
Today, I face issue during one database restore. I am not able to restore because “Database is in use, Not able to take exclusive lock”. I have killed all the user sessions & stop the application...
View ArticleBlog Post: Automate Database Restore
On several occasions I have been required to restore a database from production to development or test. The requirements are that I must restore 1. The most recent full back up 2. The most recent...
View ArticleBlog Post: Orlando Live 360 November 17-21!!
SQL 360 Live Countdown to Live 360!! Live 360 will be held Novemeber 17-21 at Universal Studios Royal Pacific Resort. Registration is open and you can register here to receive a $600 discount code. I...
View ArticleBlog Post: Interview with Boris Hristov of borishristov.com
Recently I had the opportunity to conduct a short interview with Boris Hristov. I think you find this interview interesting as Boris reveals how he became a DBA and ultimately awarded a MVP...
View ArticleBlog Post: Cumulative Update – 3 for SQL Server 2014 RTM Is Now Available !
The 3rdcumulative update release for SQL Server 2014 RTM is now available for download at the Microsoft Support site. Cumulative Update 3 contains all the hotfixes released since the initial release...
View ArticleBlog Post: Using indexed views on ANY core SQL server edition
I was having a discussion the other day and was quite surprised to hear that there still appears to be a slight misconception regarding being able to use indexed views on web or standard editions of...
View Article