Working with T-SQL function AVG ()
Learn about the T-SQL function, AVG(), and see how it is used in a few different cases.
2022-07-01
2,692 reads
Learn about the T-SQL function, AVG(), and see how it is used in a few different cases.
2022-07-01
2,692 reads
When the database design is not great, you may have to write some creative queries to get what you need.
2020-02-17
3,457 reads
As SQL developers, we tend to think of performance tuning in terms of crafting the best table indices, avoiding scalar and table valued functions, and analyzing query plans (among other things). But sometimes going back to the spec and applying some properties of elementary math can be the best way to begin to improve performance of SQL queries which implement mathematical formulas. This article is a case study of how I used this technique to optimize my SQL implementation of the Inverse Simpson Index.
2021-05-07 (first published: 2019-09-12)
5,386 reads
By Rayis Imayev
"Dave: Open the pod bay doors, HAL.HAL: I’m sorry, Dave. I’m afraid I can’t...
By Steve Jones
Redgate acquired a data modeling tool from Vertabelo recently and I wanted to explore...
By Brian Kelley
The advantage of understanding the make-up of the exam: I can tailor my efforts...
Hi, I was using order by on a column with characters and saw something...
Comments posted to this topic are about the item SQL Server 2025 Build List
Comments posted to this topic are about the item Filtered Indexes: The Developer’s Secret...
I run this code to connect to SQL Server 2022 from the command line.
sqlcmd -S localhost -EAt the command line, I run these two commands:
SELECT ORIGINAL_DB_NAME() GOWhat is returned? See possible answers