Database view on scoped app table issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2017 01:11 AM
I am trying to create a database view on one global scope table and one scoped application table, but I can't get it working... First of all is this possible at all?
Since I wasn't able to make it work, I have tried to see what will be the output of this database view on single table. If database view is on the global scope app table,in my case cmdb_ci_appl, everything is OK, all records shown as expected, however if database view is on the scoped app table only - following error message is shown when I try the view:
Syntax Error or Access Rule Violation detected by database (Unknown column 'relx_****_itaas2_base_relationship.sys_mod_count' in 'field list')
The table that is mentioned in the error message is the base table, not the one I am using the database view.
Also I don't have where clause or anything trying to access sys_mod_count or any other field.
Any ideas?
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2017 07:59 AM
Hi plamennkv Do you still have this question? Sometimes the order column of the database view tables can produce that error message. Try playing around with different orders to see if you get a different result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 03:58 AM
Thanks for your reply. However in my case I am seeing this error message even when there is only one table in the database view, so the order doesn't do anything in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2021 11:09 PM
Do any one have solution for this issue.Actually I want to create a database view for 2 tables one on global scope and one in application scope?