SQLServerCentral Editorial

Honeybee Swarms

I love honeybees. This will be my seventh year as an amateur beekeeper, and aside from family or data, there are few other topics that I could easily spend an afternoon talking to you about. They’re amazing creatures. This past winter I had to move my beehives temporarily to the apiary of a friend. With […]

Stairway to SQL Server Security

Stairway to SQL Server Security Level 7: Security Across Databases with Cross-Database Ownership Chaining

Sometimes you need to reach outside a database and access data and objects from multiple databases, which raises some security issues and increases the complexity of data access. In this stairway level, you’ll learn about cross-database ownership chaining so that you can reach across database boundaries securely.

Blogs

Large System Databases on SQL Server

By

This one is an oldie in my blog drafts, but a goodie! So, I...

Free Advanced SQL Course for June: Don’t Miss Out!

By

Summer is here, and it's the perfect opportunity to enhance your SQL expertise with...

How to give developers access to Query Store

By

Let’s have devs look at their own query performance. Yes, please, sign me up...

Read the latest Blogs

Forums

Using AI for the First Draft

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Using AI for the First...

PowerBI premium capacity administration: dataset monitoring and tuning

By Additional Articles

Comments posted to this topic are about the item PowerBI premium capacity administration: dataset...

Basic Always On Availability Groups in SQL Server Standard

By Stewart "Arturius" Campbell

Comments posted to this topic are about the item Basic Always On Availability Groups...

Visit the forum

Question of the Day

Logon Trigger Messages

I created this trigger in SQL Server 2022:

CREATE TRIGGER checksteve
ON ALL SERVER 
FOR LOGON  
AS  
BEGIN  
IF ORIGINAL_LOGIN()= N'ARISTOTLE\Steve'
 PRINT 'Steve logged in'
END;  
GO
Where can I view "Steve logged in"?

See possible answers