Remove how-to-drop-temp-tables-in-sql-server
article thumbnail

Matching Supply With Demand — Solutions, Part 1

SQL Performance

As a reminder, the task involves querying a table called "Auctions."" Use the following code to create the table and populate it with a small set of sample data: DROP TABLE IF EXISTS dbo. Auctions ; CREATE TABLE dbo. . ( Last month , I covered Peter Larsson's puzzle of matching supply with demand.

Code 116
article thumbnail

Split strings the right way – or the next best way

SQL Performance

SQL Server 2016 brought us STRING_SPLIT , a native function that eliminates the need for many of the custom solutions we’ve needed before. I’ve written several articles about this function (and STRING_AGG, which arrived in SQL Server 2017) since this post was written: Performance Surprises and Assumptions : STRING_SPLIT().

C++ 59