Skip to content
The latest version of DbVisualizer was released 2024-03-11DOWNLOAD HERE ->

Changing the Tab Label

The tab labels are set based on a pattern that you can change in Tools->Tool Properties, in the General/Tabs category. The pattern can also be changed by selecting the Modify Tab Labelling right-click menu for Object View, SQL Commander, and Result Set tabs.

You can also manually change the label for a single Object View, SQL Commander, and Result Set tabs, using the Rename menu choice in the tab right-click menu.

You can select one of the predefined patterns or create your own by editing the pattern. The variables available for these patterns are:

VariableAvailable ForDescription
${connectionname}AllConnection name
${index}AllA unique index for the tab in the tab group
${userid}AllUserid used for the connection
${filename}SQL Commander TabsScript filename, or "Untitled" if no file is loaded. The nofile option can be used to change "Untitled" to something else, e.g. ${filename|nofile=No File}. Set it to blank to only show a label when a file is loaded, i.e. ${filename|nofile=}
${longfilename}SQL Commander TabsAbsolute path for the script, or "Untitled" if no file is loaded. The nofile option can be used to show something else, see the ${filename} variable for details
${objectname}Object View TabsObject name
${objecttype}Object View TabsObject type, e.g. Table, View etc.
${catalog}Object View TabsThe database (if any) for the currently open object
${schema}Object View TabsThe schema (if any) for the currently open object
${editorindex}Result Set TabsThe index for the parent SQL Commander tab
${rows}Result Set TabsNumber of rows in the result set
${sql}Result Set TabsPart of the SQL statement that produced the result set
${table}Result Set TabsName of the table (first if more than one) the result set comes from
${time}Result Set TabsTime when the result set was produced
${vendor}Result Set TabsDatabase vendor name