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:
Variable | Available For | Description |
---|---|---|
${connectionname} | All | Connection name |
${index} | All | A unique index for the tab in the tab group |
${userid} | All | Userid used for the connection |
${filename} | SQL Commander Tabs | Script 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 Tabs | Absolute 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 Tabs | Object name |
${objecttype} | Object View Tabs | Object type, e.g. Table, View etc. |
${catalog} | Object View Tabs | The database (if any) for the currently open object |
${schema} | Object View Tabs | The schema (if any) for the currently open object |
${editorindex} | Result Set Tabs | The index for the parent SQL Commander tab |
${rows} | Result Set Tabs | Number of rows in the result set |
${sql} | Result Set Tabs | Part of the SQL statement that produced the result set |
${table} | Result Set Tabs | Name of the table (first if more than one) the result set comes from |
${time} | Result Set Tabs | Time when the result set was produced |
${vendor} | Result Set Tabs | Database vendor name |