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

Image may be NSFW.
Clik here to view.

#0394 – SQL Server – SSIS – ForEach Loop – Controlling processing order

In this post, I explore how the For Each Loop Iterator can be made to iterate through files in a specific sequence from a given folder.

View Article


Image may be NSFW.
Clik here to view.

Task Manager is a liar

I remember asking a question at a recent training event, the outcome? I now don’t use task manager to try and understand how much memory SQL Server is consuming. Why? Well it has the ability to lie,...

View Article


Image may be NSFW.
Clik here to view.

Monday Coffee 2016-11-21

Well there were quite a few announcements in the SQL Server world last week. SQL Server vNext CTP was made available for download, the big news there is that that version will be available either on...

View Article

Image may be NSFW.
Clik here to view.

Do You Have Check Constraints On Your Start and End Dates?

Adam Machanic tweeted this advice last week:Please do this. Thanks.ALTER TABLE [your_table] ADD CONSTRAINT [start date must be less than end date] CHECK (start_date < end_date);— Adam Machanic...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Database Mirroring Error -The Specified Network Name is No...

Have you ever seen a situation where SQL Server mirroring is impacted because of external factors? One of my customers reported several of the following errors in the SQL Server ERRORLOG SQL SERVER –...

View Article


Image may be NSFW.
Clik here to view.

PASS Summit Announcements: PolyBase enhancements

Microsoft usually has some interesting announcements at the PASS Summit, and this year was no exception.  I’m writing a set of blogs covering the major announcements.  Next up is the PolyBase...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Msg 19062, Level 16, State 1. Could Not Create a Trace File....

One of my clients reported a strange problem and I learned something new from it. Here is the conversation where we discussed how to fix error 19062 – could not create a trace file.<EMAIL> Hi...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Rule “Windows Management Instrumentation (WMI) Service” failed

When I visit my client site for doing performance tuning consulting, I sometimes get trapped with some unrelated issue. Here is one of the situation where they were upgrading from SQL 2008 R2 to SQL...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Restore to LSN

For this post I want to show you how I recovered to a LSN where I did do this on a server where I wanted to go back to a time just before a delete occurred. This is my setup. … Continue reading →

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Stop Growing MSDB Database by Removing sysmail_mailitems History

Received an email “Need your urgent help On Demand, our MSDB Database has grown too big and we need help to check our sysmail_mailitems table. We are also facing performance issues.” I have been an...

View Article

Image may be NSFW.
Clik here to view.

sqlservr.exe

We all know what the sqlservr.exe and its importance, but have you noticed the size difference of the .exe when comparing SQL Server 2008R2 to SQL Server 2012 onwards? Let’s look at 2008R2, I navigate...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – System Function @@IDLE to Find System Ideal Time

Just the other day I got an email with user asking how does the @@idle function work with SQL Server as when he runs them it gives him some number but the number is not easy to interpret. I totally...

View Article

Image may be NSFW.
Clik here to view.

How to Downgrade Database from SQL Server 2014 to SQL Server 2012 – Interview...

Question: How to downgrade from SQL Server 2014 to SQL Server 2012?Answer:Not possible.Do not give up reading this blog post there is one workaround.WorkaroundYou can script your entire database with...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Playing with Backups and Compression

The era of innovation with SQL Server administration side of things keep happening, it is strange that a lot of us miss these capabilities getting added into the system. I have seen processes define...

View Article

Image may be NSFW.
Clik here to view.

#0395 – SQL Server – SSIS – Adding date and time to a file name after processing

I explore how to pick up files from a folder and append date-time to a file processed by SSIS using a simple File System Task.

View Article


Image may be NSFW.
Clik here to view.

Monday Coffee 2016-11-28

MCSA SQL Server 2016The new SQL 2016 MCSA exams are out and joy of joys, the DBA path no longer requires the Data Warehouse exam! I say this as a DBA who has had limited practical exposure to the...

View Article

Image may be NSFW.
Clik here to view.

Announcing Minion CheckDB release date!

Minion CheckDB is the third piece of our free backup and maintenance tools, rounding out the list with Minion Backup and Minion Reindex...and it's coming in early 2017.The post Announcing Minion...

View Article


Image may be NSFW.
Clik here to view.

The Future of the DBA

I’ve written before about how databases are like a car engine, and DBAs are like a car mechanic. That’s been the traditional view for production DBAs for, well, forever I think. And that analogy may...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – How to Find the In-Memory OLTP Tables Memory Usage on the Server

When I presented at the SQLPASS this year there were several learning that I found it interesting. Every year, this presentation preparation is something I take it seriously. I know many them turn up...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Log Shipping Copy Job Failure – The Password for This Account...

Working as freelancer gives an opportunity to see various kinds of error and having fun to fix them. Recently, one of my blog readers sent an email and asked assistance on the log shipping issue. He...

View Article
Browsing all 1849 articles
Browse latest View live


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