2022-08-08
612 reads
2022-08-08
612 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-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
548 reads
2022-07-11
593 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
461 reads
By HeyMo0sh
Working in DevOps, I’ve seen FinOps do amazing things for cloud cost control, but...
Every organization I talk to has the same problem dressed up in different clothes....
By DataOnWheels
I am delighted to host this month’s T-SQL Tuesday invitation. If you are new...
Comments posted to this topic are about the item The day-to-day pressures of a...
Hello all, I’m looking for advice on how to derive a daily snapshot table...
We need to replace our Windows server running SQL 2017. Any reason not to...
I have some data in a table that looks like this:
BeerID BeerName brewer beerdescription 1 Becks Interbrew Beck's is a German-style pilsner beer 2 Fat Tire New Belgium Toasty malt, gentle sweetness, flash of fresh hop bitterness. 3 Mac n Jacks Mac & Jack's Brewery This beer erupts with a floral, hoppy taste 4 Alaskan Amber Alaskan Brewing Alaskan Brewing Amber Ale is an "alt" style beer 8 Kirin Kirin Brewing Kirin Ichiban is a Lager-type beerIf I run this, what is returned?
select t1.[key]
from openjson((select t.* FROM Beer AS t for json path)) t1 See possible answers