
Be good to your data, and it'll be good to you.
Bournemouth, England
Joined August 2015
- Tweets166
- Following68
- Followers31
- Likes1.1K
New blog post! Disaster struck… sqlpete.wordpress.com/2022/0…
1
Pete Tonkin retweeted
[Blog] : Advanced report examples using PIVOT and GROUPING SETS
I show how I combine GROUPING SETS and PIVOT to get crosstab-style reports without Excel.
mssqltips.com/sqlservertip/7…
New blog post: sqlpete.wordpress.com/2021/1…
There’s a special place in hell for people who name their sub-directories in the MMM-YY date format. #baffled
1
If I had 50p for every time I forgot that UNION (as opposed to UNION ALL) does an implicit DISTINCT behind the scenes, I’d have well over £5 by now.
1
If you ever find yourself having to use DATETIMEOFFSET in SQL Server, can I recommend (a) holy water, (b) finding a less stressful job; base-jumping with live tigers strapped to you, maybe.
New blog post: sqlpete.wordpress.com/2021/0…
Pete Tonkin retweeted
New essay by me in the New Yorker.
When it comes to data - in order to count - one must first decide what should be counted.
newyorker.com/magazine/2021/…
Pete Tonkin retweeted
Good morning!
I constantly feel like a fraud. I know a few of you do too. I'm told it's normal. The principal key to dealing with this is simple:
Fake it till you make it.
Just do the work. Pretend you are what you are not and do the work.
New blog post: “Practical queries using binary operations” sqlpete.wordpress.com/2021/0…
Pete Tonkin retweeted
Importing data into #AzureSQL is a common task: I have created a repo to provide working code samples to that task easy and quick. Powershell, AZ CLI, BCP, BULK INSERT, Data Factory and Apache Spark are all covered. Enjoy! lnkd.in/dbnRwxs
New blog post: ‘Interest and APR: a short explainer’ sqlpete.wordpress.com/2020/1…
This was a really informative watch, recommended!
[From the best of the blog archives:]
7 Ways Your Data Is Telling You It’s a Graph
by Karen López (@datachick)
Read now: r.neo4j.com/2J1h4kS
#GraphDatabases #DataModel #GraphDataModel
Pete Tonkin retweeted
Ok, this is too much. “the introduction of LAMBDA makes the Excel formula language Turing Complete” techcommunity.microsoft.com/…
tl;dr LAMBDA() lets you name any Excel formula you have written so you can then simply call it by name.
This post is from an account that no longer exists. Learn more
Pete Tonkin retweeted
The GREATEST holiday gift that you LEAST expected... reddit.com/r/SQLServer/comme… Happy holiday everyone!
Turns out my definition of “self-join” is NOT the same as SQL Server’s ; you can’t join to the same table twice in an indexed view, which has ruined my morning’s work!
Every day, it kills me that you can’t do cross-db joins in Azure. It’s like trying to run a race with your legs tied together.
New blog post, “SQL String Fun(ctions)” sqlpete.wordpress.com/2020/0…
1









