Creating a Databaseview on alm_hardware table

harsha005
Tera Contributor

I am trying to create a database view by joining couple of tables from CDMB. While doing so I am trying to join alm_hardware table with many other cmdb tables to get corresponding information pertaining to a CI . When I make a join from alm_hardware table to any other cmdb tables the serial number filed from alm_hardware table is coming up as blank in my report. However, there are serial numbers. I am wondering why this is happening. My example Join condition is like this and I have a left outer join on the tables. 

 

Any input would be appreciated.

 

harsha005_0-1686845065025.png

 

 

harsha005_1-1686845374156.png

 

 

5 REPLIES 5

JP - Kyndryl
Kilo Sage

Hi Harsha,

The serial number field exists in both tables.

Make sure you are using the good one in personalizing the database view:

JPKyndryl_0-1686859572539.png

In my example OOTB, I have no values in alh_serial_number but plenty in hw_serial_number.

 

Regards,
JP

Thank you for your response. 

Prateek kumar
Mega Sage

Why do you need a DB view, Configuration item field is available on alm_hardware table and you can easily dot-walk


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Thank you for your response.  I need to connect a bunch of tables that's why took this route. I will try the Dot walk route too and see how it will help us.