Browse by Tags

All Tags » teched (RSS)

Dangers of BEGIN and END

I’ve presented this material at three conferences recently, so it’s about time I wrote a blog post on it... As programmers, we love modularisation – even in the SQL space. We make stored procedures, views, and functions to encapsulate our code. This improves...
Posted by Rob Farley | with no comments
Filed under: , , ,

A busy month – a new book, a new car, a new phone

I don’t know why Septembers are always busy. This one feels like it’s been interesting, and I’m not sure life will be the same again. But first, some of the biggest news – the book that I wrote a couple of chapters for is now available...
Posted by Rob Farley | with no comments

Four speaking engagements coming up

I’m just going to list them… This Saturday (July 18th), at Code Camp SA . I’m going to be talking about functions in SQL, particularly those that involve BEGIN and END. At the end of the month, at the ACS Branch Conference . I’m going to be part of a...
Posted by Rob Farley | with no comments

Big events every month this quarter

A new Financial Year in Australia, and a bunch of technical events coming up. Of course there’s the usual monthly user groups , but there’s more – particularly if you’re in Adelaide. July sees CodeCampSA in Adelaide on the weekend of July 18/19. I’ve...
Posted by Rob Farley | with no comments

GO - repeating batches

GO is very cool. More so than you might think, and in a couple of interesting ways. This is the 6th tip from my TechEd Australia talk, from which you can see my slides and scripts in other posts. In SQL Server, GO is the traditional batch separator. But...
Posted by Rob Farley | 2 comment(s)
Filed under: ,

Ordered data requires ORDER BY

When you select data out of a database table, it might seem as if the system will give you data in the order of the clustered index that is on that table (assuming it has one), but this isn't quite right. I showed this in the fifth of my T-SQL tips...
Posted by Rob Farley | with no comments
Filed under: , ,

Unique Indexes with GROUP BY

Indexes are great, but if you don't understand the significance of unique indexes, then you're potentially missing out on some decent performance gains. I've been meaning to write this blog post for a long time. This is material that I've...
Posted by Rob Farley | 2 comment(s)
Filed under: ,

JOIN simplification in SQL Server

This is another of my tips/techniques that I demonstrated recently. It is not a new SQL Server 2008 feature - it works just fine in older versions - I demonstrated it running on SQL Server 2005 but using SQL Server 2008 Management Studio. [Note: It's...
Posted by Rob Farley | 2 comment(s)
Filed under: ,

Doing the maths to understand SQL optimiser choices

The second of my tips from my talk ( slides and scripts available) was about doing the maths to understand why the SQL Server optimiser behaves in the way that it does - particularly in relation to choosing whether to scan an index/heap, or whether to...
Posted by Rob Farley | with no comments
Filed under: ,

OUTPUT clause - knowing what goes in, and what you've accidentally taken out

The OUTPUT clause has to be one of the best T-SQL features out there. It was new in SQL Server 2005, but it's still remarkably little known. I guess like many of the features that were introduced in SQL 2005, many people just make do with the way...
Posted by Rob Farley | 1 comment(s)
Filed under: , ,

Improving Your T-SQL Arsenal - slides

I've given this presentation a couple of times at user-groups now - last week in Adelaide, and this week in Melbourne. I posted the scripts to my blog recently, making them available to people who heard this talk at TechEd Australia at the start of...

DAT283

TechEd AU this week. I'm giving a talk on "T-SQL Tips n Techniques: Improving Your T-SQL Arsenal" on Friday morning. The slides are available from CommNet for people registered, but the scripts are here as well. Come along to the talk to...
Posted by Rob Farley | 6 comment(s)
Filed under: , ,

UNICEF Australia project at TechEd

It was unfortunate news when I heard that the UNICEF Australia site was hacked a little while ago. An old colleague of mine called me to let me know, and to ask if I knew anyone who could help them out. I used to work at a hosting company with this guy...
Posted by Rob Farley | with no comments
Filed under: , ,

Thoughts on TechEd

I enjoy TechEd . It's always good fun. Last week was my fourth TechEd, having attended for the past three years, plus in '99. The last three years have seen my involvement increase each time. Last year I proctored with the Hands-On Labs, and this...
Posted by Rob Farley | with no comments

Bloggers' Lunch at TechEd AU

TechEd is always a great event. Today I've helped with an Instructor-Led Lab on Report Builder, attended a few sessions, helped plenty of people with questions, and participated in the Bloggers' Lunch. This was a panel that Frank Arrigo hosted...
Posted by Rob Farley | 2 comment(s)
Filed under: , ,

Code Camps galore

We all know that Adelaide hosted Code Camp SA recently - it was a great success, and some people even wished I was there ! TechEd is coming up of course, but now there are two code camps scheduled for October, on the same weekend (13-14) and at the same...

TechEd slides uploaded

I should've posted that I was confirmed as a speaker at this year's TechEd Australia. It's in just over two weeks' time - August 7-10. Today I uploaded my slide deck, so that delegates may be able to download the slides before they come...
Posted by Rob Farley | 1 comment(s)
Filed under: ,

How to find TechEd Australia 2007 in a search tool

This is just hilarious, but kinda sad for Microsoft. I was in a class, and asked who amongst the students were going to TechEd this year. I had a couple of strange looks, so I pulled up Internet Explorer and went to search for the event site. Knowing...
Posted by Rob Farley | 4 comment(s)
Filed under: , ,