Database View on a single table and filter data to be displayed in database view

ramandeepgarg6
Tera Expert

Hi Experts,

3rd party has to fetch records from incident table and we don't want to expose whole incident table with all the records and columns. So idea is to expose database view of incident table with limited records and fields.

The issue is I am not able to filter the records in database view on a single table. Could you please help? "Where" query is not working.

find_real_file.png

Regards

Ramandeep

1 ACCEPTED SOLUTION

Deepak Ingale1
Mega Sage

Hello,

 

You need to have 2 tables for database view, once done, you can set filter as shown in screenshot below

 

find_real_file.png

find_real_file.png

 

Then run the view and you should see the desired results, please see below screenshot which shows only 1 record as per filter applied on number field above

 

 

find_real_file.png

Please mark reply as correct / helpful if it answers your question

View solution in original post

6 REPLIES 6

Above database view is sufficient and addresses requirement without creating new extended child table. Any reason to create separate table?

I was just providing an alternate option