Quantcast
Channel: SQL Server Blog
Browsing all 1849 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Easily Shred Event Data

It has been nearly a year since I started an extensive series about Extended Events. Previous to that start, I had already written a bunch of articles about Extended Events.Among the batch of articles...

View Article


Image may be NSFW.
Clik here to view.

Choosing Subway

By the time this post is published I will likely be pulling into the parking lot at the Subway World Headquarters, ready to receive my employee badge. My time with Ascension Information Services, and...

View Article


Image may be NSFW.
Clik here to view.

Using impersonation to allow a task without granting the required permission.

I use impersonation on a regular basis for a number of different tasks. This one is pretty basic but can make a big difference in how you handle security. Let’s use a very basic task as an example.A...

View Article

Image may be NSFW.
Clik here to view.

The Case Of The Multi-Column Auto-Created Statistic

I’ve been spending some time lately working with statistics, specifically auto-created statistics. When auto-create statistics is enabled, SQL Server will create column statistics when it needs them....

View Article

Image may be NSFW.
Clik here to view.

Monday Morning SQL Break – August 1, 2016

It’s Monday and time for this week’s blog and twitter round-up for last week. If you haven’t already, follow me on twitter (@StrateSQL). This is a good chance to catch up on data platform technology...

View Article


Image may be NSFW.
Clik here to view.

SQL Azure != SQL Server

This may come as shocking news to some, but Microsoft SQL Server and Microsoft Azure SQL DB (Azure SQL Database, Azure SQL DB, SQL Azure Database, or whatever name you know it as) are very much not the...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Indexing Book Giveaway – Part 7

More of the same with the next Expert Performance Indexing for SQL Server book giveaway.  So far, I’ve sent out six copies of the book based on comments from the past six (1, 2, 3, 4, 5, and 6) posts....

View Article

Image may be NSFW.
Clik here to view.

How Do You Calculate the End of the Month in SQL?

When working with SQL dates, sometimes you need to calculate the end of the month.  Months are tricky!  Some are 28 days, others 30 or 31, and now and then there’s a leap year!So, given a date, how do...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Setting Firewall Settings With Azure SQL Server VMs

Recently I had a session around using SQL Server on Azure and during this session one of the questions was to access the SQL Server in a Hybrid Setup. This is a typical scenario wherein the developer...

View Article


Image may be NSFW.
Clik here to view.

Site to Site VPNs no longer needed for vNets in the same Azure region

Up until August 1st if you had 2 vNets in the same Azure region (USWest for example) you needed to create a site to site VPN between them in order for the VMs within each vNet to be able to see each...

View Article

Image may be NSFW.
Clik here to view.

DacFxed - Powershell Nugetized DacFx wrapper

Deploying a dacpac from powershell should be pretty easy, there is a .net api which you can use to open a dacpac, compare to a database and either create a script or get the database to look the same...

View Article

Image may be NSFW.
Clik here to view.

Another Way To Check Query Folding In Power BI/Power Query M Code

Following on from my last post on checking whether query folding is taking place in a Power BI/Power Query query, I’ve just stumbled on another way of doing this – by looking at metadata. I blogged...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Tuesday #081: Sharpen Something – Reminder

Sharpen SomethingLast week I sent out the invite for the August TSQL Tuesday blog party. In that invite I promised to send out a reminder seven days prior to the event. Well – it is that time.You are...

View Article


Image may be NSFW.
Clik here to view.

SQL Complete – Smart Code Completion and SQL Formatting

A week ago, I saw a notification about the release of dbForge SQL Complete 5.5. As a long-time user of this product, I have updated to the new version. A week later I decided to share my impressions of...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2016 – Perform Volume Maintenance

One of the server settings that I always enable when configuring a new instance of SQL is database instant file initialisationIn case you don’t know what this is, it is a setting that can be granted to...

View Article


Image may be NSFW.
Clik here to view.

Minimizing SQL Server DBCC CHECKDB Performance Impacts

OverviewSQL Server is the most popular relational database management system, which is used by many organizations to maintain their data. Every user expects that data should be stored in a consistent...

View Article

Image may be NSFW.
Clik here to view.

No, she really doesn’t want a picture of your ***!

(This post and the link may be NSFW, be warned.)I can’t believe that I have to write this.  First, before I continue look at the title of this blog post.  If you think I’m wrong, you really should keep...

View Article


Image may be NSFW.
Clik here to view.

What’s the difference between LEFT and RIGHT OUTER JOINs?

A DBA walked into a bar, saw a couple of tables, and asked “Can I JOIN you?”There are several different kinds of JOINs. OUTER JOINs are one of the more complex options. With an INNER JOIN only those...

View Article

Image may be NSFW.
Clik here to view.

Recovery Model Comparison

This simple blog will cover the bulk of information you’ll need to make a fully informed decision on which Recovery Model to choose for your SQL Server databases. I know, that was horrible, but I...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – DMVs to Detect Performance Problems in SQL Server – Notes from...

[Notes from Pinal]: Performance tuning is a complex subject, and not everyone knows where to start and how to handle this complex subject. There are so many different areas for performance tuning for...

View Article
Browsing all 1849 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>