Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display filename only in SQL Server 2005 Management Studio tab

How can I just display the filename only in the tab? Currently I'm getting the full path in the tab.

like image 596
Homer Avatar asked Sep 23 '10 20:09

Homer


People also ask

How do I find the server name for SQL Server 2005 Management Studio?

Go to Start > Programs > Microsoft SQL Server > Service Manager. Locate the running MS SQL Server instance name (circled below in red). This is what you'll need to enter in the record.

How do I get a list of files in a directory in SQL?

use MyDb select * From GetFiles('C:\Temp\');

How do I change the tab name in SQL Server?

Go into Tools > Options > Text Editor > Editor Tab and Status bar, and set all tab text to false except for Include file name (set this to True). Now, when I next execute the query, the Tab text presents the new filename.


1 Answers

see here, make include filename true

[edit]..I misunderstood your question, there is now way that I found not to include the path[/edit]

alt text

like image 161
SQLMenace Avatar answered Oct 12 '22 03:10

SQLMenace