Skip Navigation LinksALVAO 11.2 / Asset manager guide / Searching, reporting and data analysis / SQL query and database script (deprecated)
SQL query and database script (deprecated)
Note:
This feature is deprecated and will be retired in future versions of this application.
Data that cannot be retrieved from the database by searching or queries can be retrieved and possibly manipulated directly in the SQL database. To write an SQL query or script, you need at least a basic understanding of the structure of Alvao database and writing SQL queries.
Alternatively, contact ALVAO technical support.
You can find the commands you need in AM Console - Tools - Database.
Creating SQL queries
- When creating SQL queries, we recommend using views created for easier access to data in Asset Management. All views designed to access AM information are in the database schema "Query".
- SQL queries only allow you to run SELECT queries.
- Always enter custom column names in the form .
View.[Column], for example Node.[Serial Number]. You can rename columns using an AS statement, for example SELECT View.[Column]AS [View Column].
- Do not use SELECT * FROM in queries, but always list specific columns, otherwise the result display may be slowed down.
- Views that contain object properties always contain the top 100 most used object properties. Updating these views (redefining them for the 100 most used properties) can be done in Administration - Database Maintenance - Update data for reports
- Before creating your own queries over views, we recommend that you take a look at the examples of using views described below.
Did not find what you were looking for? Ask our technical support team.