In SSMS, how do I change a SQL query window's tab name?
07:24 09 Jul 2014

I want to know how to change the tab name of a SQL query window:

enter image description here

Instead of SQLQuery8.sql…Registry(sa(51)), I would like to have a custom caption.

If the query window has a very title, I can only open 3 windows at a time. I want to open more than 10 windows. So I need to change the query window's name to something very short, something like Q1, Q2, etc.

How can I change this?

sql-server ssms