Generate Random Dates in T-SQL
In this article we look at how to generate random dates in SQL Server to build a sample dataset along with code and examples
2022-08-05
In this article we look at how to generate random dates in SQL Server to build a sample dataset along with code and examples
2022-08-05
2022-07-27
595 reads
In this article we look at how to generate random dates in SQL Server to build a sample dataset along with code and examples
2022-07-27
You can summarize data to get counts, averages, sums, and more using GROUP BY in T-SQL queries. Greg Larsen shows you how.
2022-07-25
Learn different ways to add comments to your T-SQL code when working with SQL Server along with several examples.
2022-07-18
2022-07-15
553 reads
2022-07-11
603 reads
In this article we cover different ways to convert a SQL Server numeric value into a string value.
2022-07-08
2022-07-04
462 reads
Learn about the T-SQL function, AVG(), and see how it is used in a few different cases.
2022-07-01
2,755 reads
If you work with data pipelines, SQL, notebooks, or machine learning models, a Mac...
By ChrisJenkins
Have you been thinking about migrating your reporting to Microsoft Fabric or Snowflake but...
The Joyful Craftsmen has become the new owner of Revolt BI. The merger creates...
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
Comments posted to this topic are about the item SQL Server Enum Implementation: A...
Comments posted to this topic are about the item BIT_COUNT I
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