- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 01:17 AM
Hello,
I want to know what sql query is being generated for a database view in servicenow. How can I do that?
Thanks,
Rajnandini
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 01:25 AM
Enable debug mode "Debug Detailed SQL", go to Database Views, enter the your database view record, and click Try It. At the bottom of the page there you will find the SQL. Disable the debug mode after the test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 01:25 AM
Enable debug mode "Debug Detailed SQL", go to Database Views, enter the your database view record, and click Try It. At the bottom of the page there you will find the SQL. Disable the debug mode after the test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2020 04:39 AM
how to enable Debug Detailed SQL??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 01:26 AM
Hi Raj,
Why do you require the SQL query? This is internal and Service Now will handle the SQL at database level.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 01:40 AM
Hello Alikutty,
I want to check whether query is being generated in right or wrong.
thanks,
Raj