Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Database view error

dgarad
Tera Sage

 I have created a database view I got an error.

 

dgarad_0-1711632176981.png

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad
10 REPLIES 10

Dr Atul G- LNG
Tera Patron

Hi @dgarad 

 

Please share the table and where clause conditions. 

****************************************************************************************
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
******************************************************************************************

Hi @Dr Atul G- LNG 

 below ss of table and where clause conditions

dgarad_0-1711633408741.png

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

HI @dgarad 

 

https://www.servicenow.com/community/developer-forum/database-view-giving-error-syntax-error-or-acce...

 

The fix was to update "order" column. So the table that is primary and have no dependency then it should be 100 and subsequent can be 200 and so on.

****************************************************************************************
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
******************************************************************************************

Hi @Dr Atul G- LNG 

 

I have changed the order also not working.

 

Thanks

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad