I'm trying to find out what causes the command that was executed to show in the Messages window after execution.
For example, when altering a procedure, the message window shows "ALTER_PROCEDURE - [name of procedure here]".
This message shows on some of our servers, but not on others, so I'm trying to find out what setting to change to make it consistent.
Thank you!
I've been unsuccessful when searching here and in Google.
You can turn off the completion time messages by unchecking the box here:
Tools -> Options -> Query Execution -> SQL Server -> Advanced -> Show completion time