More on Returning a Subset of a Recordset
Last week's tip created quite a discussion on different techniques for returning a subset of a recordset.
Here are a few of the alternative solutions offered.
Last week's tip created quite a discussion on different techniques for returning a subset of a recordset.
Here are a few of the alternative solutions offered.
Early in September Andy posted an article that explained how to use DMO to reattach a lot of MDF's in a hurry AND challenged our readers to accomplish the same task in T-SQL. Today we announce the winning solution!
This is an update to a recent article that provides a step-by-step guide to clustering SQL Server 2000 and Windows 2000.
Pre-sliced peanut butter is on its way to U.S. store shelves in test markets - fact or fiction??
Download the source code today for a great method for SQL Server live monitoring.
If you are like me, you probably get lots of telemarketing calls. Here's a good one to use the next time you get called by a phone company.
This article examines some of the undocumented stored procedures that exist in SQL Server 7.0
A look at files and filegroups in SQL Server 7.0, including some optimization tips.
Learn how to take advantage of AWE memory to boost the performance of SQL Server 2000.
Tired of lugging all those reference books around? Check out this site that is sure to find a permanent home in your favorites list.
By Steve Jones
I wrote an article recently on the JSON_OBJECTAGG function, but neglected to include an...
By HeyMo0sh
After working deep in cloud operations, I’ve learned that FinOps isn’t really about dashboards...
By gbargsley
Hello, dear blog reader. Today’s post is coming to you straight from the home...
Comments posted to this topic are about the item Creating a JSON Document I
Comments posted to this topic are about the item Who is Irresponsible?
Comments posted to this topic are about the item Designing Database Changes Before Deployment:...
I want to create a JSON document that contains data from this table:
TeamID TeamName City YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933If I run this code, what is returned?
SELECT json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers