References > References > Variables and examples > SQL queries

SQL queries

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.