sql prompt

External Article

Reusing Query Results in SSMS

  • Article

Every time you need to reuse the query results from SSMS, for example to populate another table, or to search for matching rows in another table, it will inevitably mean a lot of manual tweaking to the get the results into the right format. Louis Davidson uncovers three SQL Prompt gems that can remove all this pain.

2021-03-16

External Article

SQL Snippets Galore, Added to SQL Prompt

  • Article

Imagine having at your fingertips all the metadata queries you need to explore your SQL Server databases and then, a few clicks later, all your diagnostic queries to troubleshoot their performance. Phil Factor demonstrates how it can be done, by storing each set of snippets in a standard JSON collection and using PowerShell to convert them to SQL Prompt snippet files.

2020-11-25

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

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...

Database Engine Tuning Advisor in Azure

By BOR15K

Hello, all We have several performance issues, which I think could be mitigated by...

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...

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