Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

What all possible ways to push data from ServiceNow to SQL Server

Pragati4
Tera Contributor

Hi There,

 

Can someone suggest what all possible ways are there to push data from ServiceNow to SQL Server?

 

Regards,

Pragati

 

10 REPLIES 10

Rajdeep Ganguly
Mega Guru


Sure, there are several ways to push data from ServiceNow to SQL Server. Here are some of them:

1. **Direct JDBC Connection**: ServiceNow can connect directly to SQL Server using a JDBC connection. You can write a script to push data to SQL Server.

2. **ODBC Driver**: You can use an ODBC driver to connect ServiceNow to SQL Server. This will allow you to push data from ServiceNow to SQL Server.

3. **Web Services**: ServiceNow supports both SOAP and REST web services. You can create a web service in SQL Server and call it from ServiceNow to push data.

4. **IntegrationHub**: ServiceNow's IntegrationHub allows you to create flow-based integrations with third-party systems. You can use it to push data to SQL Server.

5. **Mid Server**: ServiceNow's Mid Server can be used to push data to SQL Server. The Mid Server sits within your network and can interact with your local SQL Server.

6. **Data Export**: You can export data from ServiceNow in a format that SQL Server can import, such as CSV or XML.

7. **ETL Tools**: You can use ETL (Extract, Transform, Load) tools to push data from ServiceNow to SQL Server. These tools can connect to both ServiceNow and SQL Server, extract data from ServiceNow, transform it as needed, and load it into SQL Server.

Remember, the method you choose will depend on your specific requirements, such as the volume of data, the frequency of data transfer, and the complexity of the data transformation.


nowKB.com

Hi Rajdeep,

 

I guess here "ODBC Driver" would be the best way to do it, as they want to directly hit their table database to capture the data.

Do you have any detailed documents on how we can achieve this, i have gone through a few docs documents. but if there is any other link you have that would be helpfull.

Thanks!

vermaamit16
Kilo Patron

Hi @Pragati4 

 

Although there are multiple ways to push data from ServiceNow to SQL Server ( Assuming MSSQL Server), the one which is being preferred by me is doing it with a PowerShell Mid Server Script File. 

 

Through PowerShell, we can write a script to connect, validate and push the data to the MSSQL server via Mid Server through SQL Cmdlets. These PowerShell based Mid Server Script files could thus be called from the Flow through PowerShell step in an action.

 

Thanks & Regards

Amit Verma

Thanks and Regards
Amit Verma

Pragati4
Tera Contributor

Thank you Sumanta & Rajdeep for your quick response! 

Here I won't be getting the endpoint, I have just the server details, table name and user ID/Password. 

Any detailed link or doc would be helpful through which I can achieve this. 

 

Regards,

Pragati