The Bit Bucket

SQL: Suggestion for SSMS -> Save as table

I often look at the results of a query in SSMS and want to save them off somewhere, and what I really want is a table. To do that, at present, I need to:

  • Right-click and use Save Results As to go to a CSV
  • Use the flat file import wizard (or something) to import the CSV

Now obviously, in some cases, if it was a SELECT query, I could add an INTO clause and just run the query again, but there are many many cases where I want to save the outcome of another type of query. It could also be that I just can’t run the query again for whatever reason.

2024-03-28

SQL Down Under show 87 with guest Ronen Ariely discussing the importance of SQL Server internals is now published!

Today, another SQL Down Under show is published!

This time I had the great pleasure yesterday to record a podcast with an old friend from the SQL Server and data communities Ronen Ariely.

Ronen is a senior consultant and an applications and data architect with more than 20 years of experience in a variety of programming languages and technologies.

He was awarded as a Microsoft MVP seven times and is active in communities, mostly related to Microsoft Azure, Data Platforms, and Dot.Net programming.

2024-03-26

SQL Down Under show 86 with guest Armando Lacerda discussing SQL Server 2022 snapshot backups and data virtualization is now published

And yet another new SQL Down Under show is published!

Once again, I had the great pleasure yesterday to record a podcast with one of my long-term data platform MVP friends Armando Lacerda.

Armando is a cloud architect and engineer focused on data platform. He is a long-term data platform MVP, MCT, speaker, trainer and coder.

In the show, we discuss changes involving two aspects of SQL Server 2022:

  • Backups using snapshots
  • Data virtualization

I hope you enjoy it. You’ll find this show (and previous shows) here: SQL Down Under Podcast /

2024-03-19

Cosmos Down Under show 11 with guest Khelan Modi discussing vector database and search is released

It’s been a big week for Down Under podcasts. I really enjoyed recording another new Cosmos Down Under podcast this morning. It’s now edited and released.

Show 11 features Azure Cosmos DB product manager Khelan Modi discussing the vector database and search features of Azure Cosmos DB, and particularly how that applies to large language models (LLMs).

Khelan is a product manager on the Azure Cosmos DB team. He leads the AI and Portal (UI) initiatives for the Vector Database service, Azure Cosmos DB for MongoDB vCore.

2024-03-09

Cosmos Down Under show 10 with guest Tara Bhatia discussing elasticity features is released

I had the great pleasure to get to also record another new Cosmos Down Under podcast this morning. It’s now edited and released.

Show 10 features Azure Cosmos DB product manager Tara Bhatia discussing the elasticity features of Azure Cosmos DB. Tara and her team have been helpful lately, helping me understand the burst capacity features of the product better, and I thought it’d be great to have her on the show.

2024-03-08

Introducing PG Down Under - Focus on PostgreSQL

Welcome to PG Down Under!

I’ve worked with data most of my life and I love all aspects of it, and PostgreSQL has been part of it. Whenever possible, I’ve attended local PostgreSQL user groups to make sure I stay across what’s happening with it, even though my primary work was with SQL Server. PostgreSQL has been part of many client engagements over the years.

For some time, I’ve been starting to build up a series of podcasts for PostgreSQL developers and DBAs.

2024-03-08

SQL Down Under show 85 with guest Bob Duffy discussing building data warehouses is now published

And another new SQL Down Under show is published!

Once again, I had the great pleasure yesterday to record a podcast with one of my UK based friends Bob Duffy.

Bob is a Principal Data Architect at Prodata’s SQL Centre of Excellence in Dublin, Ireland. He helps enterprise customers build large scale enterprise data warehouses in Azure, typically integrating ERP and financial systems.

Bob is a long-term Data Platform MVP, a Microsoft Certified Architect, Master, and Analysis Services Maestro. He holds a number of Azure role-based certifications. Bob also specialises in performance tuning, architecture, load testing, DevOps, Software engineering, MQ architecture, semantic modelling and meta data driven design on the MS platform.

2024-03-07

Fabric Down Under show 7 with guest Philip Seamark now available!

Once again, I had the great pleasure to record a Fabric Down Under podcast. This time it was with a fellow “Down Under” guest Philip Seamark, from across the “ditch” (as we both call it) in New Zealand.

Phil is a member of the Fabric Customer Advisory Team and works as a DAX and Data modelling specialist.

He gets involved when enterprise customers need deeper technical support.

In this show, I discuss Phil’s thoughts on Direct Lake which is one of the very new options that came with Microsoft Fabric. It adds another mode to Power BI, in addition to Import and Direct Query modes that have been there previously.

2024-03-06

Fix: Getting R and Python to actually work on SQL Server 2022

One of my more surprisingly popular blog posts in the past talked about Machine Learning: Testing your installation of R and Python in SQL Server 2017. The problem is that SQL Server 2022 changed things.

Now the SQL Server team has published an article on how to make it work.  What I’ve been finding though, is that people are struggling to follow that article. And more concerning, people using named instances of SQL Server (like SQLEXPRESS) couldn’t get it to work at all, no matter how much they tried.

2024-03-04