Connect SQL Server to Salesforce via ODBC

Connect SQL Server to Salesforce via ODBC


In this tutorial we will show you how to connect Microsoft SQL Server to Salesforce via the Easysoft Salesforce ODBC Driver.
Free trials of this software are available here http://goo.gl/CFJhzZ

Please be aware that with any interface into Salesforce need to use their SOAP API, for that you'll need to have access to either the Enterprise, Performance, Unlimited or Developer Edition of Salesforce.
If you have the Professional Edition then you may be able to get the API enabled by contacting your Salesforce account representative.

You'll also need to grab yourself the Salesforce.com security token.
Closed Caption:

Hi there, I'm Andy from Easysoft Limited and in this short video
I'm going to show you how easy it
is to get data from Salesforce.com
into SQL Server via ODBC
now for this, I'm going to be using the Easysoft
Salesforce ODBC Driver, which is a piece of commercial software. I'm using
that simply because we believe it's the best
way to connect to Salesforce via ODBC and we'll show you how that works.
Just a little word before we start - that because we are interfacing into Salesforce
we're going to have to use the Salesforce API.
For that you're going to have to have either
the Enterprise, Performance,
Unlimited or Developer Edition of Salesforce.
If you're out there and you've got the
Professional Edition of Salesforce, if you contact your
Salesforce rep then they might be able to
enable that for you. Certainly we've heard of people that have had that enabled.
absolutely no problem. So just to recap
you need Enterprise, Performance, Unlimited
or Developer Edition and sometimes you do
it through the Professional Edition if you get the SOAP API
enabled on that. You'll also need to grab yourself
the Salesforce security token so when you're in Salesforce.com
there's a little option to just say 'send me the
Salesforce Token', they will email that to you.
So that's all it is from that.
Once we've made the live ODBC connection,
because this is a live system that you have in front of you now
I'll show you a piece of data that has been pulled from Salesforce.
into SQL Server and show it's working OK.
So let's get on with the demo so the first
thing I will do is to log
onto my
Salesforce instance - now I've just got the
Developer version
here. It comes with some data already preloaded.
I have added just one little piece,
I've added 'Easysoft Limited' into the standard
default one that it comes with just so we can see when we pull it through
it will pull through and you will see the 'Easysoft Limited' data been
pulled through into SQL Server. So to get started
you'll need to download
visit easysoft.com
you need to click on products
and click on
ODBC Salesforce Driver
and then click on the big red 'DOWNLOAD NOW' button
I've already got the account set up with easysoft.com
if you haven't you can register, registration is
free of charge will allow it to a) download
your software, your Driver
and also request a trial license as well
and that's free.
So if I just log onto the account
all I need to do now - you'll see down here
I haven't downloaded anything yet but all the documentation that will help you if you've got any
problems
with using anything, any of the Drivers. I will just
tell it I want to download the Windows
version
and so it just gives me the option of downloading that
then I just quickly save that
Then I can open it. OK
security wording - yeah. I want to run this
to install it, click on 'Next'
Once you've read the end user license
agreement
Click on 'I Accept', then click 'Next'
and just use the default installation
folder. Click on 'Next'.
Install. And that's it installed.
Now if I was to click 'Finish' straight away, it would take me straight to the
'Launch License Manager' which is absolutely fine, but
I just want to show you whilst you're online
if you click on
'Start', it's there as a shortcut
but also in Programs under Easysoft
Licencing is there as well.
Open the Licence Manager, the only details we need from you on here
is just
is just then
email address you signed up to
easysoft.com with.
'Request License'. Just check that you want a
trial license on your do you want the full
license - I just want a trial license for now
click 'Next'. It's just confirming that it's the Salesforce ODBC Driver that I want
yes it is. All the details are on there.
I just need click 'Online Request'
and straight away it's added the licence to
this desktop that I'm using
I'm done.
I can finish there, the next stage after
doing that is to set up a datasource to connect to
Salesforce, so we do that in
Control Panel > Administrative Tools
Data Source
System DSN - we need to add a new
item to here.
I'm going to be adding the Salesforce ODBC Driver
Now in here
I just need a name for it really so "Easysoft Limited"
"Salesforce" - I'll just call it that for now, but I need to remember what I've called it
a little bit later on
And then it knows that to do this it needs to log onto the
SOAP within Salesforce
I need to enter my
Salesforce logon credentials
my Salesforce password
but also like I said earlier there's a
security token
as well that you'll need and you can
request that from
Salesforce.
So that it understands that it gives the authority.
I'll quickly test that before I do anything else.
Yeah
I'm now connected through here to Salesforce.
By Easysoft [the company I work for] and that's my full name.
So I can now 'OK' that. That's done.
So I've now set up a
datasource and that was quick and easy.
The next thing I need to do
Close those. So now I just need to
open the SQL Server
Studio.
I've got SQL Server 2012 running live.
I've set up some new connections to it so the first thing I
must do
And the first thing you must do if you're running live as well
Is just restart it, restarting it just
takes a moment ...... and that's it restarted.
I'll just have a look at 'Server Objects' and 'Linked Servers'
And 'Providers'. Easysoft isn't
set up yet - if I right click on 'Linked Servers'
'New Linked Server'
So what's I'm doing now is I'm just going to set up a physical link between
SQL Server instance
and Salesforce. So I can call it anything I want
I shall make it simple for myself and call this "ESL" [Easysoft Limited]
I just need to make sure that
in this dropdown box here I set it up as
"Microsoft OLEDB Provider for ODBC Drivers."
And then datasource is the datasource that I
just set up a moment earlier
"ESL-SF"
[Easysoft Limited Salesforce]
I can click OK. And that is it.
It's now listed in this
list of Providers. And if I just
dig down into it, into Salesforce.
It recognises some tables and there's the tables
that's in Salesforce.com. So I've not got a physical link
betweens SQL Server and Salesforce.com.
What I can do
is I can set up a new query
we can start to pull some data over into it so I'll so something
very very simple is I'll
do SELECT * FROM
ESL - it's the name
of the instance in SQL Server that
I just set up in Salesforce.
If I just bring
for now really simple - if I just execute
this which will just bring the account
information through
And there. It's just brought all the account information through that we saw a little earlier
that I had in Salesforce.com
and the one I added there
is the "Easysoft Limited". So very, very quickly, in a matter of minutes
we have downloaded the Easysoft Driver.
We've licensed it
We've set it up as a datasource
for SQL Server
and we've just run a very very
simple query on that Salesforce data
to show that we are pulling the information
through over the ODBC link.
It really is as simple as that. So remember
if you want to bring the data in
real-time
from Salesforce.com over into SQL Server
Download the Driver and request your
trial license from
easysoft.com. Til next time thanks very
much.

Video Length: 10:39
Uploaded By: Easysoft Limited
Published: 1/31/2014
View Count: 23,742

Related Articles

Updated October 20, 2026
dotConnect for Salesforce suits .NET developers ($369.95 once); Devart's ODBC Driver for Salesforce suits Excel, Power BI and Access users ($179.95 a year).
Copyright © 2026, Ivertech. All rights reserved.