Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Database view not showing correct records

Tarun Kumar10
Tera Contributor

Hi,

 

We are creating a database with different 3 scoped custom tables, and they have nothing in common. 

 

We have created left join data base view with sys_id not null, however it shows extra and duplicate records and not the correct set of records.

TarunKumar10_0-1704703351981.png

 

Can someone help me here.

6 REPLIES 6

Ivan Betev
Mega Sage

Hello there,

 

have you looked at this article?

Add a table to the database view

 

Your where clause looks wrong.


Regards, Ivan

Hi Ivan,

 

Thank you for your repose, yes I have to be referred to it earlier and tried with however didn't get correct result. I got 100's of unwanted record.

Dr Atul G- LNG
Tera Patron

Hi @Tarun Kumar10 

 

If I suggest

 

- Build DB on 2 tables first and check the results.

- Try to change order of tables and then check. 

 

In short, break this in pieces and easy to debug.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

It didnt work with two tables as well, I have posted a question to HI support, awaiting the response.