---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Displaying function results in a database view

# Displaying function results in a database view {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Enhance the display of a database view by adding a function field to the output to
display function results.

Function fields perform common database transformations and calculations on fields in the
system. Function fields do not store any data, but rather display the results of a database query
when the function is executed.

For example, you could identify incidents with ineffective descriptions of fewer than 10
characters by adding a function field that calculates the length of the Short description field.
* **[Create a function field to perform a database function](https://servicenow-prod.fluidtopics.net/QZvHnw6RWmYN1Wn5x47bFw)**   
  Create a function field that displays the results of a database function, such as a mathematical operation, field length computation, or day of the week calculation.
* **[Display function results in a database view](https://servicenow-prod.fluidtopics.net/evIeZUk3P17TX0uqlPaLTA)**   
  Add a function field to the output of a database view to see function results.

**Related concepts**   

* [Database view creation](https://servicenow-prod.fluidtopics.net/a2KsLerbK3uXQvXwtKIIAg "Create a database view to join tables. You can then create a report based on the database view.")
* [Using disjunctions in complex queries](https://servicenow-prod.fluidtopics.net/PKuvXfOJEsfJCBPafaFq3Q "ServiceNow performs conjunction (AND) statements before disjunction (OR) statements in a query.")  
**Related reference**   

* [Database views in the base system](https://servicenow-prod.fluidtopics.net/1m0H~JIy87XpAgjHjRl20w "Certain views are included in the base system with the Database Views and Database Views for Service Management plugins.")

