Run SQL queries (Oracle Database) from servicenow

SUDEL
Kilo Guru

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

1 ACCEPTED SOLUTION

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.

View solution in original post

7 REPLIES 7

Mansi Gupta
Tera Contributor

Hi @SUDEL , Were you able to achieve this requirement? If yes then how? Can you provide detailed steps?

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.

Bert_c1
Kilo Patron

Only some Servicenow Support Engineers can run SQL on an Instance Database. Use GlideRecord API to query the database.