- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:26 AM
Hello Community,
Can someone point me to an example or provide code snippet to make a JDBC Connection and do a sql insert ?
I am trying to insert a record into a table that exists in external database from script include. All the examples I could find are using MIDServers JDBCProbe.
I can't use
Webservice - ( Reason : External Database don't have support for this)
MIDServer - ( Reason : No Mid Server )
JDBCProbe - ( Reason : No Mid Server )
Orchestration - ( No subscription for Orchestration )
Thanks,
Praveen
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:37 AM
I don't think you have a way to do this without the use of a MID server. You mentioned that you don't currently have a MID server. Have you considered just...getting one? There's no cost or licensing other than the computer you install it on (if you have to buy one or spin up a VM). It's useful for plenty of things, and there is something to be said about avoiding the "square peg / round hole" situation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:37 AM
I don't think you have a way to do this without the use of a MID server. You mentioned that you don't currently have a MID server. Have you considered just...getting one? There's no cost or licensing other than the computer you install it on (if you have to buy one or spin up a VM). It's useful for plenty of things, and there is something to be said about avoiding the "square peg / round hole" situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:51 AM
Patrick, Thanks for the clarification. We are going towards the path of not using MID server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2018 11:24 AM
Hi Patrick,
Actually I am trying to move servicenow Table data to sql server. Kindly let us know the steps.
Thanks for your help.
Regards,
Sreenivas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2018 12:52 PM
Check out a tool called SnowMirror - it's designed for this purpose.
If you are looking for a more "free" solution, you could set up Export Sets on your instance to export to a MID server's export directory. You would then have your SQL server import the CSV on a recurring basis.