Reputation: 266
If I have PRINT 'something' in a trigger, where does that output go?
I'm using SQL Server 2008R2
Upvotes: 2
Views: 2925
Reputation: 38533
It print statement will bubble up to the query that initiated the trigger to execute. From which it will return to the client, SSMS, ADO, etc.
Upvotes: 2
Reputation: 22204
It depends on where you run the triggering statement. In Management Studio window, you will see the trigger output in the Messages tab.
Upvotes: 0