Script Library
Help ID: query-runner.script-library
The Script Library stores reusable SQL scripts for the Query Runner. Scripts can be grouped under folders, tagged, marked for server or database scope, and assigned placement rules that control where they appear in the library tree.
[Image omitted: Script Library manager]
Task walkthroughs:
Areas
- Folders: the tree of script folders. Dragging a script onto a folder updates the script placement.
- Scripts: the grid of saved scripts. Use the search box to search titles, SQL text, and tags.
- Editor: script metadata, scope, source, tags, placement rule, flags, and description.
- SQL text: a dockable SQL editor panel for the saved script body.
Placement Preview
Use Preview resolved target to open a separate preview page showing how the current rule path resolves before saving.
Tags
Use Tags to open the Tag Manager. Tag colors and names are stored in dbo.SavedQueryTag; script and folder tag references are updated when a tag is renamed.
Related: Query Runner, Tag Manager, dbo.SavedQueryLibrary, dbo.SavedQueryTag.