SQL From South West to Scotland : SQLSaturdays #496 & #502
I’m happy, honoured and humbled to be able to say that I will be presenting pre-cons and both SQL Saturday 496 in Exeter and SQL Saturday 502 in Edinburgh.SQL Saturday 496 Exeter is on Friday 11th...
View Article#0370 – SQL Server – Myths – CREATE DATABASE FOR ATTACH_REBUILD_LOG will not...
In the past, I have written about attaching data files to a SQL Server instance when log files are missing by the use of the FOR ATTACH_REBUILD_LOG clause of the CREATE DATABASE statement. Recently, I...
View ArticleSSRS: Sorting in Particular Order in a Report
This week I had the need to order values in a matrix in SSRS in a particular order. The names need to be ordered in alphabetical order, except for one name that always needs to come first. I’ll show...
View ArticleTo the page and back again
To the pageIt’s not one of those things you have to do frequently but every now and again you need to know what page a particular row is on. It’s not terribly difficult. There is a virtual column...
View ArticleOPENQUERY - Linked Server error "Deferred prepare could not be completed"
If you're using OPENQUERY and get this error:OLE DB provider "SQLNCLI10" for linked server "MYREMOTESERVER" returned message "Deferred prepare could not be completed.". Msg 916, Level 14, State 1, Line...
View ArticleAnnouncing Feed Monsters…
Did you use to use Yahoo! Pipes to manipulate RSS Feeds? Personal I did and I REALLY missed it when it was turned off by Yahoo. So like any good IT person I sat down (eventually) and did something...
View ArticleShrinking Database Data Files
Normal DBAs will sum up shrinking a database data file in one word: NO!I’ll talk to you about this subject because I’m not normal. Still, my goal is that you’ll go from “why can’t I shrink my files”...
View ArticleNew SQL Blogging Challenge
I recently came across Tim Ford’s (B|T) challenge to the technical blogging community. The challenge is to write one introductory level blog per month for the community.A simple statement with a...
View ArticleChange Availability Group Endpoint Port
Let’s say you have a port conflict and need to change the port on your Availability Group endpoint. How can we accomplish this?The first step is to change the port on the endpoint itself. Note that...
View ArticleThe Table.Schema() Function In Power BI/M
Yet another new M function for you this week: the Table.Schema() function, which returns information about the columns in a table. There’s some fairly detailed documentation about what it returns here;...
View ArticleSQL Server Community Activities under Surat User Group
I am very pleased to announce that I will be speaking about SQL Server Storage Structure, Level 100 session on 23rd Jan 2016 at 5 PM. Well, this will be the first appearance as a speaker after 2012,...
View ArticleCursor Statistics Are Missing in dm_exec_query_stats
The dmv dm_exec_query_stats doesn’t track stats for OPEN CURSOR statements. This is a problem because the OPEN statement is the one that “runs” your query and if you rely on these stats to monitor...
View ArticleStart SQL Server without tempdb
tl;dr; Re-start the instance in safe mode (-f startup parameter) and move tempdb. Then re-start without the parameter.While at the 2015 Summit I walked into the last few minutes of Russ Thomas’s (b/t)...
View ArticleHA/DR for Azure SQL Database
Azure SQL Database is a relational database-as-a-service in the cloud. It uses a special version of Microsoft SQL Server as its backend that is nearly identical to SQL Server (see Azure SQL Database...
View ArticleSchedule Posted for SQL Saturday Chicago!
We’re proud to announce our lineup of speakers and sessions for SQL Saturday Chicago, taking place on Saturday, March 5, 2016!Building a schedule for an event like this is never easy, especially given...
View ArticleI’m Going to be TECHUnplugged in Austin
…and you should join me. On 2 February I’ll be speaking at TECHUnplugged Austin, Texas. This event, which has free registration, focuses on how technology innovation is changing business and...
View ArticleSSIS: An Item With The Same Key Has Already Been Added
ProblemRecently I was working on a new project and was trying to deploy my SSIS project with several packages to the catalog for the first time. I received the error when trying to build the...
View ArticleWhat is RapidMiner
RapidMiner OverviewIf you are searching for a data mining solution be sure to look into RapidMiner. RapidMiner is an open source predictive analytic software that provides great out of the box support...
View ArticleTip # 10 – Storage
Top 10 Tips for SQL Server Performance and ResiliencyThis article is part 10 in a series on the top 10 most common mistakes that I have seen impact SQL Server Performance and Resiliency. This post is...
View ArticleDatabase Design Throwdown, Texas Style
It’s a new year and I’ve given Thomas LaRock (@@sqlrockstar | blog ) a few months to recover and ramp up his training since our last Throwdown. The trophies from all my wins are really cluttering my...
View Article