- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 10:23 PM
Team,
I am creating database view for two tables. cmdb_ci_hardware & Problem records with left join.
It should show for how many CIs problem was raised plus rest of CIs (with no any problem ticket raise)
But its not showing any records.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 11:13 PM
Shouldn't it be 'hwd_sys_id=prb_cmdb_ci'? You are checking if the sys_id of the CI is the same as the sys_id of the problem. That will never be the case.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 02:44 AM
Hi @Community Alums
Thanks. I took sys_id & cmdb_ci and it worked.
But left joint not working. Its showing only common records & not all records from hardware table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 04:39 AM
Hi All,
It worked by below way.