Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Database View is not showing results

ServiceNowSteve
Giga Guru

Good Afternoon All,

I am attempting to dive into Database Views and I have created a simple view based off of a video I watched (below)

After joining my incident table and my company table I added a WHERE clause to the incident table that attempts to pull records where the "company" field on my incident table matches the "name" field on the company table.

After I "Try It" I get nothing in return, any idea why? I do know that there are records on our Incident table that match these names.

1.png

2.PNG

My Reference Video...picks up around 9:55

1 ACCEPTED SOLUTION

Try using all underscores: inc_company = comp_sys_id


View solution in original post

6 REPLIES 6

Try using all underscores: inc_company = comp_sys_id


I'll be....it wasn't the underscores it was that I was using the sys_id on the incident not comp....you sir are amazing! Thank you!