How to create a new column in Database view for report?

alvatindra
Giga Contributor

HI,

I have created a database view on a table, I need to create a new column in database view without creating in the main table, So that I can use the newly created column in the report which is on database view table.

How this can be achieved?

6 REPLIES 6

Hi Tony,



I am creating db view only on one table


find_real_file.png


find_real_file.png


The SN Nerd
Giga Sage
Giga Sage

You have to add the field to the view table.


Otherwise, add it to the relevant table and then to the database view.



As mentioned, Database Views are for the consumption of data, not for the management of data.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022