Grant Fritchey

Grant Fritchey is a SQL Server MVP with over 20 years’ experience in IT including time spent in support and development. Grant has worked with SQL Server since version 6.0 back in 1995. He has developed in VB, VB.Net, C# and Java. Grant has authored books for Apress and Simple-Talk, and joined Red Gate as a Product Advocate in January 2011. Find Grant on Twitter @GFritchey or on his blog as the Scary DBA.

Blog Post

SQL Server XQuery For Idiots

I’m still struggling with learning XQuery. My latest little revelation was small, but vital.
The difference between:
@inXML.nodes('/rss/channel/item')and
@inXML.nodes('/rss[1]/channel[1]/item')Is the difference between a...

2009-11-30

1,518 reads

Blog Post

XQuery For Idiots

I’m still struggling with learning XQuery. My latest little revelation was small, but vital.
The difference between:
@inXML.nodes('/rss/channel/item')and
@inXML.nodes('/rss[1]/channel[1]/item')Is the difference between a...

2009-11-30

1,732 reads

Blog Post

Proof

SQL Rockstar tells me that unless there are photo’s, it didn’t happen. Brad McGehee published some pictures from DevConnections. See,...

2009-11-17

608 reads

Blogs

Export Extended Event Results to CSV or Table

By

This is something that I’ve seen pop up a couple of times on various...

Book Review – Fundamentals of Data Engineering

By

This book was recommended by some of my colleagues, so I decided to give...

Introduction to OpenAI and LLMs – Part 2

By

My previous blog post on this topic was Introduction to OpenAI and LLMs, the...

Read the latest Blogs

Forums

Creating an Index with a lot of Columns

By emuller1982

Hi all. I have been working on SQL Environment that are really not well...

Parse Double Quoted comma separated data with comma

By drbob

I've used this function before and I'm sorry I do not recall it's origination. ...

What is re-enabling Ole Automation Procedures?

By webrunner

Hello experts, I'm trying to disable (0) Ole Automation Procedures via sp_configure. But each...

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