#0390 – SQL Server – SSIS – OLE DB Destination – Table Fast Load – Keep...
The "Keep Identity" checkbox on an OLE DB destination task works identical to the T-SQL SET IDENTITY_INSERT option. In this post, I explore the OLE DB Fast Load option.
View ArticleThe dark side of Fn_dump_dblog
I want to show you what happens when you keep using the undocumented fn_dump_dblog function. (For example if you are consistently dumping the contents into a table for analysis) The below 2 queries...
View ArticleQS-Config is no longer supported
It saddens me to announce that I will no longer be supporting QS-Config. It seems like a long time since I wrote the first version of it, long before I ever decided to publish it. At the time I was...
View ArticleUsing Snippets
A while ago I talked about Templates. This is an easy way to get a, well, template of a piece of code. But a much faster way to get a simple template is to use a snippet. With a simple key command...
View ArticleUnique Indexes and Computed Columns in SQL Server
In the last post of this blog series, I discussed what a non-clustered index is and how to choose an ideal non-clustered index key. In this post, I will discuss indexes on computed columns and unique...
View ArticleCreating and Running an SQL Server Unit Test – Best Ways to Test SQL Queries
I hope it is no secret that testing of written code is as important as writing the code itself, and sometimes even more important. Writing unit test for C#/Java/…code coverage is the responsibility of...
View ArticleAzure SQL Database DMVs
The following DMVs shown within this blog post are some of the more common ones that I am finding really useful within the Azure world, hopefully I am not the only one. Sys.geo_replication_links This...
View ArticleThere is no remote user ‘xxxxx’ mapped to local user ‘(null)’ from the remote...
My Client recently complained that his linked server was failing to connect with the following error,“An error Occurred during Service Key decryptionThere is no remote user ‘xxxxx’ mapped to local user...
View ArticleSQL SERVER Management Studio – Why I am Seeing White Icon Instead of Green or...
One of my clients faced a strange situation. She was using SQL Server Management Studio and was not seeing SQL server and SQL Agent status. It was showing white circle. When she would right click the...
View ArticleInstalling SQLCMD
For anyone who wasn’t aware SQLCMD is a command line tool for running T-SQL statements and scripts. Before anyone says anything I want to point out that yes, I realize that you can use Powershell...
View ArticleData Warehouse Fast Track for SQL Server 2016
Microsoft Data Warehouse Fast Track for SQL Server 2016 is a joint effort between Microsoft and its hardware partners to deliver validated, pre-configured solutions that reduce the complexity of...
View ArticleObscurity is not Security
We’ve all heard the argument that using a different TCP port number for SQL, other than 1433, is more secure. Here’s the truth, it isn’t. Andy said it best here in a conversation on Twitter that...
View ArticlePASS Summit 2016 – Invest in Your SQL Server Future
Have you registered yet for PASS Summit 2016, October 25-28 in Seattle? “Of course I have,” you say confidently. “Reserved my hotel, booked my flight and packed my bags two weeks ago. I’ve got this.”Or...
View ArticleAnother way to move SQL DB to Azure
About 8 months ago I wrote an article (http://www.sqlservercentral.com/articles/SQL+Server/139998/ ) where I showed you how to migrate your “earth” SQL Database to Azure using a BACPAC import. If you...
View ArticleSQL SERVER – How to Avoid Triggers for Multiple Row Operations in a Table
Customers have a unique way to give you challenges that you never faced. It was one of those evenings that I was working late night on some SQL activity when I received a mail from one of my very old...
View ArticleTop 5 Signposts to deep technical expertise at PASS Summit 2016
How do you find deep technical expertise at PASS Summit 2016?Signpost Number 1: Watch Joseph Sirosh’s Day One keynote. Attend in person if you can, or watch the live stream on PASS TV if you can’t. The...
View ArticleHow To View Always Encrypted Data in SQL Server Management Studio
One of the shiny new features in SQL Server 2016 is Always Encrypted. Here's how you can view the plain text data inside of SQL Server Management Studio.The post How To View Always Encrypted Data in...
View ArticlePowerShell Scripts – get-process with SQL Server process
Working with powershell scripts can be interesting. I have in the past shown a number of such scripts that we can use with SQL Server. In this blog, I was playing around understanding how I can use the...
View ArticleOne (Last) Trip to the Emerald City for #SQLPASS
On Monday, I’m flying out to the Emerald City (Seattle, WA) for the annual gathering of Microsoft database geeks known as the PASS Summit; as always, I’m excited to see friends and learn new stuff....
View ArticleNested Variables In DAX
Last week, at the SQL Server Days conference in Belgium, Kasper mentioned in his presentation that it was possible to define variables inside variables in DAX. So, for example, you could define a...
View Article