Get Information on Current Traces Running
This is just a quick informational query to save as a snippet to get some quick information on running traces,...
2014-12-02
940 reads
This is just a quick informational query to save as a snippet to get some quick information on running traces,...
2014-12-02
940 reads
I was looking for an efficient way to eliminate overlapping days when provided with a historical table that provided events...
2014-10-16
987 reads
Common date values you may need to reference that you may not want to write from scratch each time.
Hope...
2014-08-12
1,050 reads
If you want to create sample random samples when dealing with date calculations to test your results, you can easily...
2014-08-12
517 reads
A step by step explanation on one way to get a consecutive period of months, which could easily be adapted...
2014-05-19
653 reads
Ran across a comment the other day that scalar functions prohibit parallelism for a query when included. I thought it...
2014-02-11
853 reads
If you run across migrating or copying a database structure for some purpose, yet need to change the database references...
2013-08-13
1,934 reads
I’ve never really used the F1 key for help files with most applications. I was surprised at the usefulness in...
2013-07-24
865 reads
If you have a set of columns inside your table that you want to allow nulls in, however if one...
2013-07-18
1,232 reads
When dealing with large amounts of objects in a database, navigation can be tedious with SSMS object explorer. This extender...
2013-07-16
737 reads
By gbargsley
It's 2 AM. Your phone is going off. Users can't connect to the application,...
By Steve Jones
I discovered a procedure recently that I wasn’t aware of: sp_sequence_get_range. This post looks...
By Arun Sirpal
After a year away getting to grips with AI and its application across the...
hi i was hoping for a more elegant way of setting a pkg level...
I have a plan which in sys.query_store_plan shows: Last_compile_start_time of 2026-04-23 00:13:00.7670000 +00:00 Last_execution_time...
Fisher Phillips is looking for a Financial Systems Administrator to help support and improve our financial...
I want to create a JSON document that contains data from this table:
TeamID TeamNameCity YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName) FROM dbo.NFLTeams n;See possible answers