In this tip we look at a PowerShell script you can use to gather information about the installation date for all of your SQL Servers.
The rise of attacks is something Steve thinks will trigger more network protection, something data professionals will need to work with.
In this tip we look at how to read an Excel file from within SQL Server using OpenRowSet and OpenDataSource along with the possible errors you may encounter and how to fix these issues.
One skill that's useful to develop is the ability to learn things on your own. Often with a little help, but not too much.
In this tip we look at different scripts you can use to find when a SQL Server stored procedure was created, modified, last executed and to also return the code for the stored procedure.
Is it better to copy and distribute data or centralize it? Steve has a few thoughts today.
A common debate in table architecture is whether to use a natural or surrogate key. In this article, I discuss some of the advantages to each method.
In this article, you will explore tools and extensions that can be used with Visual Studio 2019 to improve your database experience irrespective of what database you use.
The Problem Recently, while working with one of my clients, I came across a script in which I had to introduce a scalar User-Defined Function in the SELECT statement. The SELECT used to return around 750K records. However, after introducing the UDF, the row count significantly increased to 826K. There were no other changes made […]
It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...
By James Serra
Model Context Protocol, or MCP, is one of those technical ideas that sounds more...
When starting with AWS RDS Aurora for managing relational databases in the cloud, many...
Jl. Ir. H. Juanda No.66, Lb. Siliwangi, Kecamatan Coblong, Kota Bandung, Jawa Barat 40132
Ruko Soho Emas, Jl. Klampis Jaya No.39, Klampis Ngasem, Sukolilo, Surabaya, Jawa Timur 60117
Ruko Soho Golden, Jl. Klampis Jaya No.39, Klampis Ngasem, Sukolilo, Surabaya, East Java 60117
I have this data in a table called dbo.NFLTeams
TeamID TeamName City YearEstablished ------ -------- ---- --------------- 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960 5 49ers San Francisco 1946 6 Broncos Denver 1960 7 Seahawks Seattle 1976 8 Patriots New England 1960If I run this code, how many rows are returned?
SELECT TOP 2
json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers