Another Recursive CTE–Doing Math
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-06-01
512 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-06-01
512 reads
The Azure Data Platform is taking off. I’m seeing more and more interest on the forums, at conferences and in...
2016-06-01
423 reads
There is a highly useful system view called sys.master_files. If you’ve never encountered it before it returns a list of...
2016-06-01 (first published: 2016-05-23)
1,578 reads
Welcome to an exciting new FREE class that I am launching today! Over the next year (that’s right year!) I...
2016-06-01
2,245 reads
Usually I prefer to use C# to delete files (as part of my retention policy for backups) as a stored...
2016-06-01
173 reads
I was working on generating scripts for logins, users and server roles and I could able to to generate scripts...
2016-06-01
630 reads
One of my servers wasn’t rebooted when it should have been and I never realized it until after the outage was over. The big deal wasn’t that it didn’t...
2016-06-01
54 reads
One of my servers wasn’t rebooted when it should have been and I never realized it until after the outage...
2016-06-01
519 reads
(DE)
Es ist soweit: Der neue SQL Server, in meinen Augen das beste Release seit vielen, wenn nicht gar überhaupt,...
2016-06-01
543 reads
Today is the day: SQL Server 2016 is available for download! You can download all the versions (enterprise, standard, web,...
2016-06-01
967 reads
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...
By alevyinroc
Ten years (and a couple jobs) ago, I wrote about naming default constraints to...
Comments posted to this topic are about the item The day-to-day pressures of a...
Comments posted to this topic are about the item Using OPENJSON
Comments posted to this topic are about the item Data Modeling with dbt for...
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