References > Aliases > SQL Query

SQL Query

Any value you can collect from the database can be generated, formatted, or calculated using a SQL query as a variable. To use a SQL query as a variable in Orion Platform products, use ${SQL:{query}} as shown in the following example that returns the results of the SQL query:

Select Count(*) From Nodes:

SolarWinds does not support SQL queries directly. Visit our user forums on thwack for help from our community.