- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 03:19 AM
What is database view?Practical demo of how to create Database view and how to use it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 04:09 AM
Hi Harry,
A database view defines table joins for reporting purposes.
For example, a database view can join the Incident table to the Metric Definition and Metric Instance tables. This view can be used to report on incident metrics and may include fields from any of these three tables.
A number of useful database views are installed with the Database View plugin and the Database Views for Service Management plugin. These database views cover most metric reporting needs and greatly reduce the need to define new ones.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 03:23 AM
The database fetches data from multiple tables for reporting purposes where reporting cannot be done on a single table.
For testing, you can follow the Servicenow docs example creation below at
Hope that helps!
Thanks & Regards,
Sharjeel
Muhammad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 03:25 AM
Also, look at this guide for practicle use cases.
http://docshare02.docshare.tips/files/23965/239654811.pdf
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2021 03:06 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 03:30 AM
Think of two tables like Incident and Metrics, once you create a Database view of both the tables joined together it gives you a view of all Incidents with appropriate Metrics, columns of both the Tables for your Reporting usage.
Hence the use of Database view.
There are lot of examples in the ServiceNow Documentations. check the ones shared by Muhammad.
Thanks,
Saji