- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:07 AM
Hello,
I have a requirement to run few SQL commands on Oracle database through ServiceNow UI, would like to know what are the different ways we can achieve this through ServiceNow.
Servicenow - Midserver - Database
Thanks and Regards,
Sudipth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 07:05 AM
Hi Mansi,
Yes i was able to integrate using IntegrationHub, there is a action that runs SQL commands you have to add that to the flow, also Application registry and related connectivity configurations needs to be placed before. Oracle Connection and credentials needs to be setup. You'll find the example in the OOB settings itself. This connection is used in the SQL action.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:20 AM
What will the commands be doing? Are you expecting to have the output returned? Is it returning data that needs to be loaded into the system.
Yes you can run SQL commands, but there is usually a bigger picture on what/why that's being done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:24 AM
Hi Kieran,
Running the commands for adding/removing data from a specific table based on the request(Simple removal codes even have the sql queries), we're automating few manuals code run on oracle database with catalog submission.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 07:22 AM
IntegrationHub will be the simplest method if you're licensed for it, it'll also allow you to easily retrieve any output.
Alternatively, you can leverage the ECC queue and send custom commands, but this involves building technical debt which isn't viable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2023 09:03 AM
How can i run PL SQL from ServiceNow to perform some operations in Oracle EBS.