Home
SQL Size online help Prev Page Prev Page
Introduction
About SQL Size
Version history
Contact us
User Guide
Architecture
Licensing
Installation
System requirements
Reference Guide
The SQL Size Agent service
The SQL Size Configuration application
SQL Server instances
Data collection schedule
Reports and emails
Report template
Data storage
Alerts
Script editor
Useful shortcuts
Activating your license
The SQL Size database
The SQL Size GUI
The Overview page
Export overview
Database analysis
Alerts history
Error history
Scripting
Data types
Script structure
Language basics
Debugging
Global variables
Functions
Alert functions
RaiseAlert
RaiseConditionalAlert
AddAlertDetails
Mathematical functions
Power
String formatting functions
FormatBytes
FormatFloat
Support functions
String functions
Date and time functions
Date-Time format strings
Class reference
TBaseClass
Properties
AverageDailyGrowth
Name
ObjectType
Size
SizeDesc
Tag
TInstance
Properties
Database
DatabaseByName
DatabaseCount
DatabaseDataSize
DatabaseExists
DatabaseFilestreamSize
DatabaseLogSize
DatabaseSize
PathCount
Path
TDatabase
Properties
DataSize
DBFile
DBFileCount
Filegroup
FilegroupCount
FilestreamSize
LogSize
TFilegroup
Properties
DBFile
DBFileCount
FilegroupType
TDBFile
Properties
Filegroup
FileType
Growth
IsPercentGrowth
MaxSize
Path
PhysicalName
TPath
Properties
FreeSpace
Enumerations
TFileType
TFilegroupType
TObjectType
Records
TGrowthStats
Constants

Useful shortcuts

Bookmarks

You use bookmarks to quickly jump to specific lines of your script in the editor. You can place up to 10 bookmarks. To place a bookmark, press the CTRL-SHIFT-[0 to 9] keys. For e.g. to place bookmark 1 on line 3, place your cursor on line 3,  
 
scripteditor_shortcuts_01  
 
and press CTRL-SHIFT-1. A bookmark indicator is displayed in the left margin.  
 
scripteditor_shortcuts_02  
 
 
To jump to that line from anywhere in the script, press CTRL-1. Similarly, to place bookmark 2, press CTRL-SHIFT-2, and to jump to that bookmark, press CTRL-2.  
 

Compile your script

To compile your script, press F4. You can compile the script any time to check for syntax and logic errors.  
 

Running your script

To run your script, press F5. Note that you do not have to manually compile your script to run it. SQL Size will compile the script for you before running it.