Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

PASS Summit 2016: Recommendations and Invitations (#sqlpass #Summit16)

The last week of October, we’ll be at the PASS Summit in Seattle, WA.  As some of you already know – and as I said last year and the year before – “this is the highlight of most SQL Server speakers’ years…a sort of educational, Christmassy nerdfest, with a feel…

Read more

0 comments, 195 reads

Posted in SQL Awesomesauce on 6 September 2016

October precon in Orlando: “The Lifecycle Approach: Maintenance Problems & Solutions”

On October 7 we will be presenting a full day of maintenance and backup learnin’! Register here: https://www.eventbrite.com/e/sql-saturday-564-the-lifecycle-approach-maintenance-problems-solutions-tickets-26867268724 And while you’re at it, register for the free SQL Saturday Orlando that follows! http://www.sqlsaturday.com/564/eventhome.aspx Abstract for “The Lifecycle Approach” Database maintenance isn’t a single event; it’s a lifecycle. Aside from the…

Read more

0 comments, 177 reads

Posted in SQL Awesomesauce on 5 September 2016

Conference speakers: Why do you teach at events?

I’ve put up a Twitter poll to find some answers to the question: Why do speakers teach at events? Especially at events where there’s no compensation. I know more or less why I do this, but I’ll hold off on my answer. I want to hear about you. #SQLSaturday and…

Read more

1 comments, 223 reads

Posted in SQL Awesomesauce on 29 August 2016

An MCM teaches COMMENTS at SQL Saturday OKC

Edit: SQL Sat OKC has come and gone, but the new session on comments is recorded and up on the MidnightDBA Events page! (Direct link to WMV.) Tomorrow (as of the blog’s publish date) at8:30am, I will be teaching “T-SQL’s Hidden Support Feature” at SQL Saturday Oklahoma City (totally free,…

Read more

0 comments, 195 reads

Posted in SQL Awesomesauce on 26 August 2016

Tricky TSQL: NOT IN (NULL)

We’ve done this before, but we can go one better this time. Let’s take this step by step. NULL means “I don’t know”. It stand for an unknown value. Nothing can be equal to NULL. We simply can’t say that 1 = NULL, or ‘ABBA’ = NULL,  because we don’t…

Read more

2 comments, 706 reads

Posted in SQL Awesomesauce on 11 August 2016

Slash star, dash dash: Be obsessive about comments

I’m working on a new session* that I’ve named “T-SQL’s Hidden Support Feature”. It’s about comments. I’ll get to the reasons why I’m writing and presenting an hour long session on /* */ and — a bit later, but first: Why am I calling comments a “hidden support feature”? Comments…

Read more

12 comments, 1,539 reads

Posted in SQL Awesomesauce on 8 August 2016

Feasel’s Grand Analysis of the PASS 600 mile radius rule

UPDATE: Last week, PASS announced an update to the 600 mile radius announcement: “…we will be piloting the 600-mile driving radius distance for events in North America beginning January 1, 2017. We will not include the back-to-back weekend restriction during this pilot…” Last month, PASS – the professional SQL organization…

Read more

0 comments, 802 reads

Posted in SQL Awesomesauce on 1 August 2016

Share custom solutions in the MinionWare Community Zone

Since we released Minion Reindex over a year and a half ago, we’ve had a ton of wonderful feedback, praise, questions, and best of all, custom made solutions to custom in-house problems. You see, Minion Reindex and Minion Backup are both free, and completely open. Nothing’s encrypted, and all data…

Read more

0 comments, 394 reads

Posted in SQL Awesomesauce on 7 June 2016

Minion CheckDB Beta

Come meet Codex! We’ve had many of you asking to be part of the Minion CheckDB beta and now is the time. We’re putting the finishing touches on the 1st beta and it’s looking great with some fabulous features. So this is the open call for beta users. If you’d…

Read more

3 comments, 258 reads

Posted in SQL Awesomesauce on 18 May 2016

See you Saturday in Houston!

Here’s your friendly neighborhood reminder to get free learnin’ at SQL Saturday Houston this weekend, where we’ll have the MinionWare booth, and sessions all over! Sean’s Monster Text Manipulation: Regular Expressions for the DBA is at 11am My Designing Stored Procedure Solutions is at 2:45pm Sean’s Understanding Backups is at…

Read more

0 comments, 276 reads

Posted in SQL Awesomesauce on 12 May 2016

Easy SQL mistakes: Accidental Correlated Subquery

Just a fun note, because it was a moment of pure puzzlement for me. I’m writing a new SP for Minion Backup (you knew it had to be Minion related, didn’t you?) and I just got the oddest error. Here’s how it went. First, I got a list of backups…

Read more

2 comments, 2,666 reads

Posted in SQL Awesomesauce on 18 April 2016

XP_CmdShell isn’t Evil

Bonus summary: xp_cmdshell is limited to admins, unless you specifically grant permissions to users. And if you’re an admin, you have the power to turn on and use xp_cmdshell anyway.  Xp_cmdshell is not a security hole. This is a reprint of Sean McCown’s original post on DBARant. You know, reprinted…

Read more

6 comments, 1,457 reads

Posted in SQL Awesomesauce on 9 April 2016

Announcement: Backup(n.) vs Back Up(v.)

Let it be known that the word “backup” is a noun (it refers to a thing), and “back up” is a verb (it refers to an action. I’m going to back up the database. It will produce a backup. I’ll save that backup until we back up the database three…

Read more

6 comments, 247 reads

Posted in SQL Awesomesauce on 7 April 2016

Utility function: dbo.JobName(@job_id)

As often as I have to pull a job’s name based on its job_id in the MSDB system tables, I’m truly stunned that I’ve never done this before: CREATE FUNCTION dbo.JobName ( @job_id UNIQUEIDENTIFIER ) /* A little utility function to return a job name based on the job_id. No…

Read more

2 comments, 1,211 reads

Posted in SQL Awesomesauce on 28 March 2016

Catch The Enterprise Scripting Workshop in Orange County, Baton Rouge, Albany, or Atlanta this year!

Sean and I have put together our bazillion (read: like 30 combined) years of SQL Server DBA-ing into one big, shiny pre-conference session that’s coming at you in multiple states of the union! The Enterprise Scripting Workshop. What on earth is that about, anyway?  The short version is that we…

Read more

0 comments, 281 reads

Posted in SQL Awesomesauce on 16 March 2016

Well that’s just neat: Row Level Security, new in SQL Server 2016

SQL Server 2016 offers Row Level Security, which sounds awfully cool. It’s apparently been available in Azure for a while, but the on-prem version is getting it, now. Securing Rows Okay, so: row level security (or RLS as the MSDN article so groovily puts it). What’s that, then? In short,…

Read more

4 comments, 465 reads

Posted in SQL Awesomesauce on 25 February 2016

Shrink a log file…AUTOMATICALLY?

Today let’s talk about shrinking log files, and Minion Backup – still totally & forever free – and how they go together. First things first: why would you want to shrink a log file in the first place? Haven’t we heard that shrinking files is bad? Well, no and yes.…

Read more

1 comments, 2,315 reads

Posted in SQL Awesomesauce on 22 February 2016

Where in the world are Jen and Sean?

Updated with more SQL Saturdays! Well hi there, folks. A month slips by so very fast. Here is your January report on what we’re up to, and where we’re going to be in the near future. What are we up to? Minion, of course! Also, Minion, and some Minion. In…

Read more

0 comments, 477 reads

Posted in SQL Awesomesauce on 28 January 2016

Fun with Operator Precedence

Let’s have some fun with operator precedence today. Specifically, logical operator precedence. Specifically, how is it evaluated when your where clause says “WHERE This AND That OR Something AND that”, without any clarifying parenthesis? Let’s play around with this. The simplest test scenario is a SELECT 1. If I get…

Read more

2 comments, 2,176 reads

Posted in SQL Awesomesauce on 31 December 2015

Issues and opinions on the PASS anti-harassment policy (#sqlpass)

PASS just published an anti-harassment policy reminder, quickly followed by a  blog by Wendy Pastrick (about a bad experience at last month’s conference, and why it took a while to report it). We’ve had some conversation on Twitter about it all, and a couple of jokes, and some back and…

Read more

4 comments, 582 reads

Posted in SQL Awesomesauce on 25 November 2015

Older posts