Introduction to Indexed Views in SQL Server
This article explains indexed views and provides an example that shows when they should be used to improve performance of a complex query.
2020-02-25
22,113 reads
This article explains indexed views and provides an example that shows when they should be used to improve performance of a complex query.
2020-02-25
22,113 reads
Gouri Shankar provides an overview of normalizing a database.
2020-02-18
89,163 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,466 reads
2020-02-14
890 reads
Alex Chamchourine explains how he managed to find a row in a billion row table without an index.
2020-02-14
8,121 reads
2020-02-10
1,016 reads
Learn how to use the PIVOT operator in SQL in a step-by-step manner.
2020-02-06
13,569 reads
Window functions are useful for solving many SQL queries. In this article, Ed Pollack demonstrates how they can be used to analyse baseball winning streaks.
2020-02-06
Introduction In Financial Data, analyzing the Moving Average (MA) is a very common practice. The direction of the moving average conveys important information about prices, whether that average is simple or exponential. A rising moving average shows that prices are generally increasing. A falling moving average indicates that prices, on average, are falling. This article […]
2020-02-04
23,190 reads
2020-02-03
1,144 reads
By Steve Jones
“Don’t aim to have others like you; aim to have them respect you.” –...
Many years ago, before I joined Oracle, I was working on a major modernisation...
If you work with data pipelines, SQL, notebooks, or machine learning models, a Mac...
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
WhatsApp: 0817839777 Jl. Jend. Ahmad Yani No.91, Magersari, Panjunan, Kec. Kota Kudus, Kabupaten Kudus,...
WhatsApp: 0817839777 Jl. Pemuda No.90-92, Kembangsari, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50133
In SQL Server 2025, I have a table (dbo.UserPermission) that contains this data:
UserID UserPermissions 15 23 37What is returned when I run this code:
select bit_count(UserPermissions) as PermissionCount from dbo.UserPermission where UserID = 3;See possible answers