<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSIS Salesforce Source Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/category/ssis/components/ssis-salesforce-source/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/category/ssis/components/ssis-salesforce-source/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Wed, 21 Jan 2026 22:44:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>SSIS Salesforce Source Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/category/ssis/components/ssis-salesforce-source/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</title>
		<link>https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 27 Dec 2021 20:40:45 +0000</pubDate>
				<category><![CDATA[Salesforce Driver]]></category>
		<category><![CDATA[SSIS Salesforce Connection]]></category>
		<category><![CDATA[SSIS Salesforce Destination]]></category>
		<category><![CDATA[SSIS Salesforce Source]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=9482</guid>

					<description><![CDATA[<p>Introduction Using Salesforce Connection with OAuth App in SSIS / ODBC Once you have Client ID / Secret, you can use it in the Salesforce Connection in SSIS Connector / ODBC Driver for Salesforce like below (Only the new version will have OAuth option) Troubleshooting Known Issues Let&#8217;s look at some common issues with Salesforce [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/">How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<div class="content_block" id="custom_post_widget-9476">In this section, we will discuss how to register OAuth App to call Salesforce API using Client ID / Secret rather than using your User Id / Password.

Once you follow these steps below to register your Salesforce App (OAuth App), at the end you will get a Client ID (sometimes referred to as App Id) and Client Secret (or App Secret). These two pieces can be used later on to call Salesforce API using OAuth.

So let's get started.
<h3>Register Salesforce App (OAuth)</h3>
<ol>
 	<li>Login into your account and go to <strong><em>Setup</em> </strong>as shown below (click on gear icon at the top right corner):
<img decoding="async" src="https://zappysys.zendesk.com/attachments/token/7D9Rx9qHJswkt28sC5vTggrNT/?name=inline-1178316509.png" alt="Accessing Salesforce Setup to create an OAuth App" width="342" height="233" data-original-height="233" data-original-width="342" /></li>
 	<li>Then in the search bar input "app" and open <strong><em>App Manager</em></strong>:
<img decoding="async" src="https://zappysys.zendesk.com/attachments/token/DTjFQpyDw4NViKdJyhyFkO1ng/?name=inline1698967483.png" alt="Searching Salesforce App Manager to create an OAuth App" width="689" height="364" data-original-height="364" data-original-width="689" /></li>
 	<li>Then click <strong><em>New Connected App</em></strong> to create a new OAuth App:
<strong>NOTE:</strong> In some version, it may say <strong><strong>New External Client App
</strong></strong>
<p data-start="1271" data-end="1309">Look for one of the following buttons:</p>

<ul data-start="1310" data-end="1395">
 	<li data-start="1310" data-end="1348">
<p data-start="1312" data-end="1348"><strong data-start="1312" data-end="1333">New Connected App</strong> (Classic name)</p>
</li>
 	<li data-start="1349" data-end="1395">
<p data-start="1351" data-end="1395"><strong data-start="1351" data-end="1378">New External Client App</strong> (Lightning name)</p>
</li>
</ul>
<img loading="lazy" decoding="async" src="https://zappysys.zendesk.com/attachments/token/eD6OrA9TqfRuM5N41Vqd7nrvb/?name=inline684283902.png" alt="Creating a Salesforce App to get data via ODBC driver" width="867" height="327" data-original-height="327" data-original-width="867" /></li>
 	<li>Give your App a name and:
- Enable OAuth Settings
- Set callback URL to following two URLs (one in each line)
<strong><em>https://login.salesforce.com/services/oauth2/success
</em></strong><em><strong>https://zappysys.com/oauth</strong></em>
- Add an OAuth scope you want or simply add "<strong><em>Full access</em></strong>".
- Add "<strong><em>Perform requests on your behalf at any time (offline_token)</em></strong>" scope to get a refresh token so that you don't have to re-authenticate each time requesting an access token:<a href="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png"><img loading="lazy" decoding="async" class="wp-image-4267 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png" alt="Configuring Salesforce App OAuth settings to get data via ODBC driver" width="1041" height="700" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png 1041w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-300x202.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-768x516.png 768w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-1024x689.png 1024w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-272x182.png 272w" sizes="(max-width: 1041px) 100vw, 1041px" /></a>

<span style="text-decoration: underline; color: #800000;"><strong>IMPORTANT:</strong></span> You can use "<strong>Access and manage your data (api)</strong>" if you do not like to grant full permission to this app but make sure you request same permission from the caller app too  (Example on ZappySys Salesforce Connection UI -&gt; Advanced Tab -&gt; Set scope as "<strong>api offline_access</strong>" rather than "<strong>full offline_access</strong>"</li>
 	<li>Click "Save".</li>
</ol>
<h3>Get Client Id and Client Secret for Salesforce Connected App</h3>
Once the App is created, we need to find out the App Id / Secret so we can use it for API calls.
<ol>
 	<li>Go to App Manager</li>
 	<li>Find out the recently created App and click View (click on the small arrow to the right)
<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9477" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png" alt="" width="1029" height="413" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png 1029w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-300x120.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-768x308.png 768w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-1024x411.png 1024w" sizes="(max-width: 1029px) 100vw, 1029px" /></a></li>
 	<li>Once App page is loaded you can Copy <strong>Consumer Key</strong> and <strong>Consumer Secret</strong> (click on reveal to see). Also copy anyone Call back URL (We will need this for OAuth Connection &gt; Advanced Tab &gt; Call Back URL or Redirect URL property depending on which ZappySys Product / Driver you are using)
<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9478" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png" alt="" width="974" height="554" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png 974w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl-300x171.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl-768x437.png 768w" sizes="(max-width: 974px) 100vw, 974px" /></a></li>
 	<li>That's it, you can now use these 3 pieces to ZappySys <strong>OAuth connection UI</strong> or on <strong>Salesforce Connection UI</strong> (new version with OAuth support). The above screenshot shows where to enter these 3 pieces in the New Salesforce Connection. For the OAuth Connection, the redirect URL goes to the Advanced Tab &gt; Callback URL textbox.</li>
</ol>
<h3>Get Client Id and Secret for Salesforce External Client App</h3>
If you created a new App by clicking on the <strong>New External Client App</strong> button, then your App may not be visible in the App Manager Screen. In that case, find it below way.

[caption id="attachment_11637" align="alignnone" width="1222"]<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-11637" src="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg" alt="" width="1222" height="733" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg 1222w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-300x180.jpg 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-1024x614.jpg 1024w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-768x461.jpg 768w" sizes="(max-width: 1222px) 100vw, 1222px" /></a> Get Client Id, Client Secret - For New External Client App[/caption]
<h3>Enable Client Credentials Grant (Non-Interactive Run-As)</h3>
If you like to enable Non-Interactive mode, just like UserId / Password Authentication, but without actually passing a real UserId or Password on the Connection UI, then you can enable Client Credentials Flow as below.

<strong>NOTE:</strong> Only the New version of ZappySys Salesforce Connection supports Client Credentials Grant. <span style="text-decoration: underline;"><strong>Version released after Nov 1, 2025 supports this grant type</strong></span>.

[caption id="attachment_11639" align="alignnone" width="419"]<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-11639" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg" alt="" width="419" height="480" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg 419w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas-262x300.jpg 262w" sizes="(max-width: 419px) 100vw, 419px" /></a> Enable Salesforce Client Credentials Grant (Run As)[/caption]
<h3>(OPTIONAL) Configure Salesforce OAuth refresh token validity</h3>
By default, Salesforce Refresh Token doesn't expire once you generate. If you want to change the default behavior, follow these steps.
<ol>
 	<li>Go to "<strong>Manage Connected Apps</strong>" menu item and press on your App name:<img loading="lazy" decoding="async" class="wp-image-4298 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2.png" alt="Finding Salesforce App to configure its policies" width="660" height="410" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2.png 660w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2-300x186.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2-436x272.png 436w" sizes="(max-width: 660px) 100vw, 660px" /></li>
 	<li>Click "Edit Policies" to configure refresh token validity:
<img loading="lazy" decoding="async" class="wp-image-4271 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies.png" alt="Editing Salesforce App OAuth refresh token issuing policy" width="680" height="391" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies.png 680w, https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies-300x173.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></li>
 	<li>Set "<strong>All users may self-authorize</strong>" and "<strong>Refresh token is valid until revoked</strong>" options:<a href="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png"><img loading="lazy" decoding="async" class="wp-image-4273 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png" alt="Making Salesforce App OAuth refresh token to never expire" width="870" height="498" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png 870w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1-300x172.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1-768x440.png 768w" sizes="(max-width: 870px) 100vw, 870px" /></a></li>
 	<li>Click "Save".</li>
</ol>
<h3></h3></div>
<h2>Using Salesforce Connection with OAuth App in SSIS / ODBC</h2>
<p>Once you have Client ID / Secret, you can use it in the Salesforce Connection in SSIS Connector / ODBC Driver for Salesforce like below (Only the new version will have OAuth option)</p>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9513" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png" alt="" width="604" height="383" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png 604w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret-300x190.png 300w" sizes="(max-width: 604px) 100vw, 604px" /></a></p>
<h2>Troubleshooting Known Issues</h2>
<p>Let&#8217;s look at some common issues with Salesforce Connection and how to fix them.</p>
<h3>OAuth Error: Missing Required Code Challenge</h3>
<p>When you click Generate Token button, you may get an error like the one below.</p>
<div id="attachment_11066" style="width: 767px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11066" class="size-full wp-image-11066" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png" alt="Salesforce OAuth Generate Token Error - Missing Required Code Challenge" width="757" height="571" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png 757w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge-300x226.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></a><p id="caption-attachment-11066" class="wp-caption-text">Salesforce OAuth Generate Token Error &#8211; Missing Required Code Challenge</p></div>
<p><strong>Solution</strong></p>
<p>Here is how to fix it.</p>
<p>For Salesforce Connection UI: Go to Advanced Tab =&gt; Check Enable PKCE Code Verifier option<br />
&#8211;OR&#8211;<br />
For OAuth Connection UI: Go to OAuth2 Grant Options Tab =&gt; Check Enable Code Verifier Option</p>
<div id="attachment_11067" style="width: 1384px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11067" class="size-full wp-image-11067" src="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png" alt="Enable PKCE code verifier option - OAuth Connection for Salesforce" width="1374" height="637" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png 1374w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-300x139.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-1024x475.png 1024w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-768x356.png 768w" sizes="(max-width: 1374px) 100vw, 1374px" /></a><p id="caption-attachment-11067" class="wp-caption-text">Enable PKCE code verifier option &#8211; OAuth Connection for Salesforce.</p></div>
<p>The post <a href="https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/">How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Download Salesforce Attachment in SSIS</title>
		<link>https://zappysys.com/blog/download-salesforce-attachment-in-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Sat, 26 Dec 2020 20:25:11 +0000</pubDate>
				<category><![CDATA[REST API]]></category>
		<category><![CDATA[SSIS Salesforce Source]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=9190</guid>

					<description><![CDATA[<p>Introduction Download Salesforce Attachment in SSIS can be difficult the first time. In this new article, we will show how to download an Attachment from the Salesforce Source into a file using SSIS. Working with images is always tricky the first time. However, with the right article, this process is really simple. This article will show you how [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/download-salesforce-attachment-in-ssis/">Download Salesforce Attachment in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Download Salesforce Attachment in SSIS can be difficult the first time. In this new article, we will show how to download an Attachment from the <a href="https://zappysys.com/products/ssis-powerpack/ssis-salesforce-source-connector/#:~:text=SSIS%20Salesforce%20Source%20Connector%20(CRM,.com%20Object%20Query%20Language).">Salesforce Source</a> into a file using SSIS. Working with images is always tricky the first time. However, with the right article, this process is really simple. This article will show you how simple it is to do it.</p>
<p>Salesforce is an extremely powerful CRM based in the cloud. This company was created in California, San Francisco and it is a very common request to get the information from the cloud into a file automatically. These can be achieved with our ZappySys SSIS PowerPack plus some SSIS tasks.</p>
<h2>Requirements</h2>
<p>In order to do it, we will need the following components:</p>
<ol>
<li><a href="https://docs.microsoft.com/en-us/sql/ssdt/previous-releases-of-sql-server-data-tools-ssdt-and-ssdt-bi?view=sql-server-ver15">SSDT for SSIS</a> installed</li>
<li><a href="https://zappysys.com/products/ssis-powerpack/download/">ZappySys SSIS Powerpack</a> installed</li>
<li>A connection to Salesforce. In order to create a connection to Salesforce, check <a href="https://zappysys.com/products/ssis-powerpack/download/">this video </a>or <a href="https://zappysys.com/blog/export-data-from-salesforce-to-sql-server-using-ssis/">check our article related</a>.</li>
<li>Finally, we will need a file in Salesforce to download.</li>
</ol>
<h2>Getting Started</h2>
<h3>Creating the connection</h3>
<ol>
<li>First of all, in SSDT, create a new SSIS project</li>
<li>In order to create a connection in SSDT, go to the connection manager, and select a new connection.
<div id="attachment_9202" style="width: 560px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-create-gmail-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9202" class="size-full wp-image-9202" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-create-gmail-connection.png" alt="Salesforce Connection" width="550" height="315" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-create-gmail-connection.png 550w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-create-gmail-connection-300x172.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></a><p id="caption-attachment-9202" class="wp-caption-text">ssis-create-salesforce-connection</p></div></li>
<li>Also, Select the ZS Salesforce connection. This new connection is created by the <a href="https://zappysys.com/products/ssis-powerpack/download/">ZS SSIS PowerPack</a> plugin mentioned in the requirements. With this connection, we can easily connect to Salesforce and get the Information.
<div id="attachment_9203" style="width: 520px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-connection-create.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9203" class="size-full wp-image-9203" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-connection-create.png" alt="Select SSIS Salesforce" width="510" height="488" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-connection-create.png 510w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-connection-create-300x287.png 300w" sizes="(max-width: 510px) 100vw, 510px" /></a><p id="caption-attachment-9203" class="wp-caption-text">Select SSIS Salesforce connection</p></div></li>
<li>Finally, write your email, password, and token. For more information about getting the token, please <a href="https://zappysys.com/blog/export-data-from-salesforce-to-sql-server-using-ssis/">check our article related</a>.
<div style="width: 682px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full" src="https://i0.wp.com/zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager.jpg?w=672&amp;ssl=1" alt="SSIS salesforce credentials" width="672" height="531" /><p class="wp-caption-text">Salesforce credentials in SSIS</p></div></li>
</ol>
<h3>Creating the package</h3>
<ol>
<li>First of All, Drag and drop the Data Flow Task from SSIS Toolbox and double-click it to edit.
<div id="attachment_7934" style="width: 470px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="size-full wp-image-7934" src="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png" alt="Drag and Drop SSIS Data Flow Task from SSIS Toolbox" width="460" height="155" srcset="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png 460w, https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task-300x101.png 300w" sizes="(max-width: 460px) 100vw, 460px" /></a><p id="caption-attachment-7934" class="wp-caption-text">Drag and Drop : Data Flow Task from SSIS Toolbox</p></div></li>
<li>Secondly, in the Data Flow, we will use the Salesforce Source to connect to Salesforce and get the attachments.
<div id="attachment_1818" style="width: 255px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-salesforce-source-ssis-component.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1818" class="wp-image-1818 size-full" title="Drag and Drop Salesforce Source" src="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-salesforce-source-ssis-component.jpg" alt="Drag and Drop Salesforce Source" width="245" height="192" /></a><p id="caption-attachment-1818" class="wp-caption-text">Drag and Drop: Salesforce Source from SSIS Toolbox</p></div></li>
<li>For this purpose, we will use the attachment table from Salesforce.<a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforece-picture.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-9192" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforece-picture.png" alt="" width="886" height="603" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforece-picture.png 886w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforece-picture-300x204.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforece-picture-768x523.png 768w" sizes="(max-width: 886px) 100vw, 886px" /></a></li>
<li>In addition, we will get the columns from the table. The image is in the body, however, we have additional columns like the id, name, ContenType, BodyLenght, createDate, and more:
<div id="attachment_9193" style="width: 896px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-columns.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9193" class="size-full wp-image-9193" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-columns.png" alt="Salesforece columns in SSIS" width="886" height="603" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-columns.png 886w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-columns-300x204.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-salesforce-columns-768x523.png 768w" sizes="(max-width: 886px) 100vw, 886px" /></a><p id="caption-attachment-9193" class="wp-caption-text">SSIS Salesforce Columns</p></div></li>
<li>Next, we will need to drag and drop SSIS Derived Column from the SSIS Toolbox below the Salesforce Source and connect it.
<div id="attachment_10219" style="width: 503px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-derived-column.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10219" class="size-full wp-image-10219" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-derived-column.png" alt="Drag and drop the Derived Column" width="493" height="345" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-derived-column.png 493w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-derived-column-300x210.png 300w" sizes="(max-width: 493px) 100vw, 493px" /></a><p id="caption-attachment-10219" class="wp-caption-text">Drag and drop the Derived Column</p></div></li>
<li>Double-click on the derived column, to specify the path to store the image in a local folder.
<div id="attachment_9194" style="width: 934px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-derived-column-path-download-attachment-salesforece.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9194" class="size-full wp-image-9194" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-derived-column-path-download-attachment-salesforece.png" alt="saleforece download image" width="924" height="467" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-derived-column-path-download-attachment-salesforece.png 924w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-derived-column-path-download-attachment-salesforece-300x152.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-derived-column-path-download-attachment-salesforece-768x388.png 768w" sizes="(max-width: 924px) 100vw, 924px" /></a><p id="caption-attachment-9194" class="wp-caption-text">SSIS-derived column download image salesforce</p></div></li>
<li>Now let&#8217;s, drag and drop SSIS Export Column from the SSIS Toolbox &gt;&gt; Other Transforms.
<div id="attachment_10220" style="width: 443px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-export-column.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10220" class="size-full wp-image-10220" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-export-column.png" alt="Drag and drop Export Column" width="433" height="291" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-export-column.png 433w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-export-column-300x202.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-drag-and-drop-export-column-272x182.png 272w" sizes="(max-width: 433px) 100vw, 433px" /></a><p id="caption-attachment-10220" class="wp-caption-text">Drag and drop Export Column</p></div></li>
<li>Double-click on the Export column to download an image of the body. In the Extract Column map the Body column of File data and the Path Column to where you want to save that file.
<div id="attachment_9191" style="width: 909px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/download-salesforce-attachment-body.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9191" class="wp-image-9191 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/12/download-salesforce-attachment-body.png" alt="Download attachment salesforce" width="899" height="261" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/download-salesforce-attachment-body.png 899w, https://zappysys.com/blog/wp-content/uploads/2020/12/download-salesforce-attachment-body-300x87.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/download-salesforce-attachment-body-768x223.png 768w" sizes="(max-width: 899px) 100vw, 899px" /></a><p id="caption-attachment-9191" class="wp-caption-text">SSIS export column salesforce image</p></div></li>
<li>Finally, we will use the trash destination to get the image and finish the flow.
<div id="attachment_9195" style="width: 267px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-trash-destination.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9195" class="size-full wp-image-9195" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-trash-destination.png" alt="Destination ssis salesforce" width="257" height="84" /></a><p id="caption-attachment-9195" class="wp-caption-text">SSIS Trash destination</p></div></li>
<li>Now, we are ready. Your package should be something like this:
<div id="attachment_9196" style="width: 340px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-full-salesforce-download-package.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9196" class="wp-image-9196 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-full-salesforce-download-package.png" alt="Download Salesforce Attachment in SSIS " width="330" height="322" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-full-salesforce-download-package.png 330w, https://zappysys.com/blog/wp-content/uploads/2020/12/ssis-full-salesforce-download-package-300x293.png 300w" sizes="(max-width: 330px) 100vw, 330px" /></a><p id="caption-attachment-9196" class="wp-caption-text">ssis-full-download-package</p></div></li>
<li>Run the package to test it.</li>
<li>If everything is fine, we will be able to see the file. As you can see Downloading Salesforce Attachment in SSIS is a straightforward process.</li>
</ol>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>In conclusion, we learned in this article how to Download Salesforce Attachment in SSIS. Basically, you need to use the ZappySys salesforce source, then use the derived column to specify the path and the Export column to get the image. Finally, the ZS Trash destination will be used  If you liked this article, do not hesitate to continue testing and using <a href="https://zappysys.com/">ZappySys PowerPack for SSIS.</a></p>
<p>The post <a href="https://zappysys.com/blog/download-salesforce-attachment-in-ssis/">Download Salesforce Attachment in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SSIS PowerPack v2.9.5 released (Maintenance Release)</title>
		<link>https://zappysys.com/blog/ssis-powerpack-v2-9-5/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Tue, 25 Jun 2019 13:26:07 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[SSIS Dynamics CRM Destination]]></category>
		<category><![CDATA[SSIS Dynamics CRM Source]]></category>
		<category><![CDATA[SSIS Excel Destination]]></category>
		<category><![CDATA[SSIS Excel Source]]></category>
		<category><![CDATA[SSIS Salesforce Source]]></category>
		<category><![CDATA[SSIS Upsert Destination]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=7292</guid>

					<description><![CDATA[<p>What&#8217;s New In this release we focused on fixing some bugs with Dynamics CRM Source , Dynamics CRM Destination and Reporting Services Task. Version 2.9.6.10621 [Jun 24, 2019] New Features/Improvements NEW: Excel Source &#8211; Add option to read from any sheet by number rather than hard coded table name (e.g. $4$ , $5$ &#8230; ) Bug fixes [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/ssis-powerpack-v2-9-5/">SSIS PowerPack v2.9.5 released (Maintenance Release)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>What&#8217;s New</h2>
<p>In this release we focused on fixing some bugs with <a href="https://zappysys.com/products/ssis-powerpack/ssis-dynamics-crm-source-connector/">Dynamics CRM Source</a> , <a href="https://zappysys.com/products/ssis-powerpack/ssis-dynamics-crm-destination-connector/">Dynamics CRM Destination</a> and <a href="https://zappysys.com/products/ssis-powerpack/ssis-report-generator-task/" target="_blank" rel="noopener">Reporting Services Task</a>.</p>
<h2 class="vertitle">Version 2.9.6.10621 [Jun 24, 2019]</h2>
<h3 class="versubtitle">New Features/Improvements</h3>
<ul>
<li><span class="verAdded">NEW: </span>Excel Source &#8211; Add option to read from any sheet by number rather than hard coded table name (e.g. $4$ , $5$ &#8230; )</li>
</ul>
<h3 class="versubtitle">Bug fixes</h3>
<ul>
<li><span class="verFixed">FIX: </span>Dynamics CRM Destination &#8211; Timeout property is ignored &#8211; You may get error &#8211; The request channel timed out while waiting for a reply after 00:00:59. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding</li>
<li><span class="verFixed">FIX: </span>Dynamics CRM Source &#8211; Virtual Fields not included in output or they are NULL</li>
<li><span class="verFixed">FIX: </span>General &#8211; Sometimes you may see blank OAuth Screen (If error occurred behind the scene)</li>
<li><span class="verFixed">FIX: </span>Reporting Services Task &#8211; LastStatus field not updated</li>
<li><span class="verFixed">FIX: </span>Reporting Services Task &#8211; Local report file throws dll load error at run time</li>
<li><span class="verFixed">FIX: </span>Reporting Services Task &#8211; You may get error on Save UI &#8211; Concurrency violation: the UpdateCommand affected 0 of the expected 1 records</li>
<li><span class="verFixed">FIX: </span>Salesforce Source &#8211; You may get NULL for related Object fields</li>
<li><span class="verFixed">FIX: </span>Upsert Destination &#8211; When you select all columns as Key &#8211; You may get error &#8211; Incorrect syntax near the keyword &#8216;WHEN&#8217;</li>
</ul>
<p>The post <a href="https://zappysys.com/blog/ssis-powerpack-v2-9-5/">SSIS PowerPack v2.9.5 released (Maintenance Release)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to read Salesforce data in SSIS &#8211; Export to SQL Server</title>
		<link>https://zappysys.com/blog/export-data-from-salesforce-to-sql-server-using-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 04 Sep 2017 14:09:18 +0000</pubDate>
				<category><![CDATA[REST API Integration]]></category>
		<category><![CDATA[SSIS Components]]></category>
		<category><![CDATA[SSIS PowerPack]]></category>
		<category><![CDATA[SSIS Salesforce Source]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[salesforce api]]></category>
		<category><![CDATA[salesforce soap api]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[ssis]]></category>
		<category><![CDATA[ssis salesforce connection]]></category>
		<category><![CDATA[ssis salesforce source]]></category>
		<guid isPermaLink="false">http://zappysys.com/blog/?p=1760</guid>

					<description><![CDATA[<p>Introduction In this tutorial, you will learn how to read data from Salesforce to SQL Server using SSIS Salesforce Source. In this article, we will extract Salesforce contacts and import them into a SQL Server database table. Also, you will learn how to do basic filtering on the contacts and get only a subset of them. Finally, [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/export-data-from-salesforce-to-sql-server-using-ssis/">How to read Salesforce data in SSIS &#8211; Export to SQL Server</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="//zappysys.com/blog/wp-content/uploads/2017/09/salesforce-logo-180x180.png"><img loading="lazy" decoding="async" class="size-full wp-image-1764 alignleft" src="//zappysys.com/blog/wp-content/uploads/2017/09/salesforce-logo-180x180.png" alt="" width="180" height="180" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/salesforce-logo-180x180.png 180w, https://zappysys.com/blog/wp-content/uploads/2017/09/salesforce-logo-180x180-150x150.png 150w" sizes="(max-width: 180px) 100vw, 180px" /></a></p>
<p>In this tutorial, you will learn how to read data from Salesforce to SQL Server using <a href="//zappysys.com/products/ssis-powerpack/ssis-salesforce-source-connector/"><acronym title="SQL Server Integration Services">SSIS</acronym> Salesforce Source</a>.</p>
<p>In this article, we will extract Salesforce contacts and import them into a SQL Server database table. Also, you will learn how to do basic filtering on the contacts and get only a subset of them. Finally, we will briefly touch some additional advanced options of Salesforce Source component. Namely, you will learn how to convert datetime columns to different formats.</p>
<p>To achieve our goal we will use Salesforce Source SSIS component. Under the hood, it uses <a href="https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_intro.htm" target="_blank" rel="noopener">Salesforce API</a> to make calls to, but you don&#8217;t have to be concerned about that:</p>
<div class="su-table su-table-alternate">
<table width="276">
<tbody>
<tr class="su-even" style="line-height: 0px">
<td width="50px"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source.png"><img loading="lazy" decoding="async" class="alignnone wp-image-1775" src="//zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source.png" alt="" width="50" height="50" /></a></td>
<td style="vertical-align: middle"><a href="//zappysys.com/products/ssis-powerpack/ssis-salesforce-source-connector/" target="_blank" rel="noopener">Salesforce Source Connector</a></td>
</tr>
</tbody>
</table>
</div>
<h2><span id="Prerequisites">Prerequisites</span></h2>
<ol>
<li>SSIS designer installed. Sometimes it is referred as BIDS or SSDT (<a href="https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt" target="_blank" rel="noopener">download it from Microsoft site</a>).</li>
<li>Basic knowledge of SSIS package development using <em>Microsoft SQL Server Integration Services</em>.</li>
<li>A Salesforce account.</li>
<li>Any SQL Server database.</li>
<li><a href="//zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener"><em>ZappySys SSIS PowerPack</em> installed</a>.</li>
</ol>
<h2>Step-by-Step <span id="Step-by-Step_Get_data_from_HubSpot_API_into_SQL_Server_database"><span id="Step-By-StepGet_data_from_HubSpot_REST_API"><span id="Step-By-Step_8211_Call_Amazon_MWS_API_using_SSIS">– Read Salesforce data in SSIS</span></span></span></h2>
<h3>Get Salesforce Security Token</h3>
<p>The first thing you will need to do to sync Salesforce with SQL Server is to get the Salesforce Security Token. You will need it for <em>Salesforce Source Connector</em> to connect to your Salesforce account:</p>
<ol>
<li>Log in to your account using <a href="https://login.salesforce.com" target="_blank" rel="noopener">https://login.salesforce.com</a>.</li>
<li>On the top right corner, press on your profile picture and click <pre class="crayon-plain-tag">Settings</pre>:
<div id="attachment_10101" style="width: 407px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/09/get-salesforce-security-token-for-ssis-salesforce-connection-manager.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10101" class="wp-image-10101 size-full" src="https://zappysys.com/blog/wp-content/uploads/2017/09/get-salesforce-security-token-for-ssis-salesforce-connection-manager.jpg" alt="Getting Salesforce Security Token for use in Salesforce Connection Manager" width="397" height="270" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/get-salesforce-security-token-for-ssis-salesforce-connection-manager.jpg 397w, https://zappysys.com/blog/wp-content/uploads/2017/09/get-salesforce-security-token-for-ssis-salesforce-connection-manager-300x204.jpg 300w" sizes="(max-width: 397px) 100vw, 397px" /></a><p id="caption-attachment-10101" class="wp-caption-text">Getting Salesforce Security Token for use in Salesforce Connection Manager</p></div></li>
<li>On the top left corner, under <em>My Personal Information </em>select <pre class="crayon-plain-tag">Reset My Security Token</pre> menu item:
<div id="attachment_1785" style="width: 259px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1785" class="wp-image-1785 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager.jpg" alt="Resetting Salesforce Security Token" width="249" height="426" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager.jpg 249w, https://zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager-175x300.jpg 175w" sizes="(max-width: 249px) 100vw, 249px" /></a><p id="caption-attachment-1785" class="wp-caption-text">Resetting Salesforce Security Token</p></div></li>
<li>In the main window area click <pre class="crayon-plain-tag">Reset Security Token</pre> button:
<div id="attachment_1786" style="width: 772px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager-2.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1786" class="wp-image-1786 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager-2.jpg" alt="Resetting Salesforce Security Token" width="762" height="305" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager-2.jpg 762w, https://zappysys.com/blog/wp-content/uploads/2017/09/reset-salesforce-security-token-for-use-in-ssis-salesforce-connection-manager-2-300x120.jpg 300w" sizes="(max-width: 762px) 100vw, 762px" /></a><p id="caption-attachment-1786" class="wp-caption-text">Resetting Salesforce Security Token</p></div></li>
<li>Check your email for a new Security Token:
<div class="wp-caption" style="margin-top: 0;">
<div id="attachment_1789" style="width: 773px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/check-your-mail-for-new-salesforce-security-token.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1789" class="wp-image-1789 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/check-your-mail-for-new-salesforce-security-token.jpg" alt="Getting new Salesforce Security Token" width="763" height="147" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/check-your-mail-for-new-salesforce-security-token.jpg 763w, https://zappysys.com/blog/wp-content/uploads/2017/09/check-your-mail-for-new-salesforce-security-token-300x58.jpg 300w" sizes="(max-width: 763px) 100vw, 763px" /></a><p id="caption-attachment-1789" class="wp-caption-text">Getting new Salesforce Security Token</p></div>
</div>
</li>
</ol>
<h3>Import Salesforce data into SQL Server</h3>
<p>Once you have Security Token, you can start getting contacts from Salesforce and load them into SQL Server database table:</p>
<ol>
<li>Open SSIS designer.</li>
<li>Create a new SSIS package and drag a <em>Data Flow Task</em> into the <em>Control Flow</em> from the SSIS Toolbox:
<div id="attachment_1795" style="width: 222px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-control-flow.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1795" class="wp-image-1795 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-control-flow.jpg" alt="Starting to create a SSIS package" width="212" height="122" /></a><p id="caption-attachment-1795" class="wp-caption-text">Starting to create a SSIS package</p></div></li>
<li>Open <em>Data Flow Task</em> and then add <i>Salesforce Source </i>from SSIS toolbox:
<div id="attachment_1818" style="width: 255px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-salesforce-source-ssis-component.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1818" class="wp-image-1818 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-salesforce-source-ssis-component.jpg" alt="Using Salesforce Source to start exporting data" width="245" height="192" /></a><p id="caption-attachment-1818" class="wp-caption-text">Using <em>Salesforce Source</em> to start exporting data</p></div></li>
<li>Start modifying <em>Salesforce Source</em> component and then press <pre class="crayon-plain-tag">New</pre> button to create a new<em> Salesforce Connection</em>:
<div id="attachment_1800" style="width: 765px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/use-ssis-salesforce-connection-manager-to-export-data-from-salesforce-to-sql-server.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1800" class="wp-image-1800 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/use-ssis-salesforce-connection-manager-to-export-data-from-salesforce-to-sql-server.jpg" alt="Creating new Salesforce Connection for Salesforce Source" width="755" height="281" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/use-ssis-salesforce-connection-manager-to-export-data-from-salesforce-to-sql-server.jpg 755w, https://zappysys.com/blog/wp-content/uploads/2017/09/use-ssis-salesforce-connection-manager-to-export-data-from-salesforce-to-sql-server-300x112.jpg 300w" sizes="(max-width: 755px) 100vw, 755px" /></a><p id="caption-attachment-1800" class="wp-caption-text">Creating new<em> Salesforce Connection</em> for <em>Salesforce Source</em></p></div></li>
<li>In a new window enter your Salesforce credentials and<em> Security Token</em> you have in your email. In advanced options group, you can select the environment in which the connection will work. Most likely, you want to use <pre class="crayon-plain-tag">Production</pre>, so just select it in <em>Service Type</em> option.<a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager.jpg"><br />
</a></p>
<div id="attachment_1804" style="width: 682px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1804" class="wp-image-1804 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager.jpg" alt="Salesforce Connection Manager configuration" width="672" height="531" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager.jpg 672w, https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-salesforce-connection-manager-300x237.jpg 300w" sizes="(max-width: 672px) 100vw, 672px" /></a><p id="caption-attachment-1804" class="wp-caption-text"><em>Salesforce Connection Manager</em> configuration</p></div></li>
<li>Once you finished creating <em>Salesforce Connection</em>, select <pre class="crayon-plain-tag">Contact</pre> as table you want to get data from. Be sure to have <pre class="crayon-plain-tag">Table</pre> option selected in <em>Access Mode</em>. Also, below you can specify the size of the batch and the maximum number of rows (contacts in our case) to retrieve:
<div id="attachment_1807" style="width: 755px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source-to-load-data-from-salesforce.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1807" class="wp-image-1807 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source-to-load-data-from-salesforce.jpg" alt="Choosing Salesforce contacts table to export them to SQL Server" width="745" height="603" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source-to-load-data-from-salesforce.jpg 745w, https://zappysys.com/blog/wp-content/uploads/2017/09/ssis-salesforce-source-to-load-data-from-salesforce-300x243.jpg 300w" sizes="(max-width: 745px) 100vw, 745px" /></a><p id="caption-attachment-1807" class="wp-caption-text">Choosing Salesforce contacts table to export them to SQL Server</p></div></li>
<li>Close <em>Salesforce Source</em> configuration and in the <em>Data Flow Task </em>drag <em>OLE DB Destination</em> and connect it to <em>Salesforce Source</em>.
<div id="attachment_1796" style="width: 222px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-data-flow.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1796" class="wp-image-1796 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-data-flow.jpg" alt="Connecting Salesforce Source to OLE DB Destination" width="212" height="200" /></a><p id="caption-attachment-1796" class="wp-caption-text">Connecting Salesforce Source to OLE DB Destination</p></div></li>
<li>Open <em>OLE DB Destination</em> configuration, select or create a new connection; in this example, we are using <em>LocalDB</em> and <em>tempdb</em> database. Then select an existing table or create a new one by pressing <pre class="crayon-plain-tag">New</pre> button. Finally, select <pre class="crayon-plain-tag">Mappings</pre> option to map the columns and close the window:
<div id="attachment_1808" style="width: 834px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/use-oledb-destination-to-import-salesforce-data-into-sql-server.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1808" class="wp-image-1808 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/use-oledb-destination-to-import-salesforce-data-into-sql-server.jpg" alt="Choosing connection and table in OLE DB Destination" width="824" height="718" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/use-oledb-destination-to-import-salesforce-data-into-sql-server.jpg 824w, https://zappysys.com/blog/wp-content/uploads/2017/09/use-oledb-destination-to-import-salesforce-data-into-sql-server-300x261.jpg 300w, https://zappysys.com/blog/wp-content/uploads/2017/09/use-oledb-destination-to-import-salesforce-data-into-sql-server-768x669.jpg 768w" sizes="(max-width: 824px) 100vw, 824px" /></a><p id="caption-attachment-1808" class="wp-caption-text">Choosing connection and table in <em>OLE DB Destination</em></p></div></li>
<li>Run the package. In this example we extract 16 contacts and load them into a SQL table:
<div id="attachment_1809" style="width: 250px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1809" class="wp-image-1809 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-1.jpg" alt="Package execution result" width="240" height="204" /></a><p id="caption-attachment-1809" class="wp-caption-text">Package execution result</p></div></li>
<li>Let&#8217;s open Salesforce page and take a look at the contacts source. We have 16 contacts here as well:
<div id="attachment_10103" style="width: 702px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-2-1-1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10103" class="wp-image-10103 size-full" src="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-2-1-1.jpg" alt="Salesforce source contacts" width="692" height="589" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-2-1-1.jpg 692w, https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-2-1-1-300x255.jpg 300w" sizes="(max-width: 692px) 100vw, 692px" /></a><p id="caption-attachment-10103" class="wp-caption-text">Salesforce source contacts</p></div></li>
<li>After querying destination table using <a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms" target="_blank" rel="noopener"><acronym title="SQL Server Management Studio">SSMS</acronym></a>, we see that everything worked like it had to:
<div id="attachment_10105" style="width: 607px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-3-1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10105" class="wp-image-10105 size-full" src="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-3-1.jpg" alt="Results: contacts exported from Salesforce into SQL Server" width="597" height="353" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-3-1.jpg 597w, https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-results-3-1-300x177.jpg 300w" sizes="(max-width: 597px) 100vw, 597px" /></a><p id="caption-attachment-10105" class="wp-caption-text">Results: contacts exported from Salesforce into SQL Server</p></div></li>
<li>You are done!</li>
</ol>
<h3>What if things are more complicated? Queries and Data Filtering</h3>
<p>Instead of accessing data using <pre class="crayon-plain-tag">Table</pre> mode, you can do it in <pre class="crayon-plain-tag">Query</pre> mode. This will let you write T-SQL-like queries where you will be able to filter the data, group it, select the subset of it, etc. Let&#8217;s take the same Salesforce table <pre class="crayon-plain-tag">Contact</pre> and do some basic filtering on it:</p>
<ul>
<li>First of all, let&#8217;s create several variables, which we will use to get specific Salesforce contacts:
<div id="attachment_1829" style="width: 504px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-variables-for-query.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1829" class="wp-image-1829 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-variables-for-query.jpg" alt="Variables used to construct a dynamic query" width="494" height="129" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-variables-for-query.jpg 494w, https://zappysys.com/blog/wp-content/uploads/2017/09/export-data-from-salesforce-to-sql-server-using-ssis-variables-for-query-300x78.jpg 300w" sizes="(max-width: 494px) 100vw, 494px" /></a><p id="caption-attachment-1829" class="wp-caption-text">Variables used to construct a dynamic query</p></div>
<p>We will use <pre class="crayon-plain-tag">Domain</pre> to filter contacts that have email with <pre class="crayon-plain-tag">uog.com</pre> domain.<br />
<pre class="crayon-plain-tag">From</pre>  variable will help us filter the contacts based on the date, when they were created.</li>
<li>Set <pre class="crayon-plain-tag">Query</pre> in <em>Access Mode</em> option and input query below:
<div id="attachment_1827" style="width: 836px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/sync-salesforce-with-sql-server-using-ssis-salesforce-source-query.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1827" class="wp-image-1827 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/sync-salesforce-with-sql-server-using-ssis-salesforce-source-query.jpg" alt="Inputting a SOQL query into a Salesforce Source SSIS component" width="826" height="602" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/sync-salesforce-with-sql-server-using-ssis-salesforce-source-query.jpg 826w, https://zappysys.com/blog/wp-content/uploads/2017/09/sync-salesforce-with-sql-server-using-ssis-salesforce-source-query-300x219.jpg 300w, https://zappysys.com/blog/wp-content/uploads/2017/09/sync-salesforce-with-sql-server-using-ssis-salesforce-source-query-768x560.jpg 768w" sizes="(max-width: 826px) 100vw, 826px" /></a><p id="caption-attachment-1827" class="wp-caption-text">Inputting a SOQL query into a <em>Salesforce Source </em>SSIS component</p></div>
<p>Even this query looks much like T-SQL query, but in reality it is a SOQL query, an acronym for <a href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm" target="_blank" rel="noopener">Salesforce Object Query Language</a>.<br />
<div class="su-note"  style="border-color:#e5dd9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#fff7b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><strong>NOTE</strong>:</p>
<ul>
<li>We are inputing <strong>{{User::From}}</strong> straight into a query and do not enclose it with single quotes, unlike in T-SQL.</li>
<li>You can explore more SOQL query examples by pressing <strong>« View Examples »</strong> button.</li>
</ul>
</div></div></li>
<li>Click <pre class="crayon-plain-tag">Preview</pre> and you will see that only contacts that have domain &#8220;uog.com&#8221; were retrieved. Filtering on <em>CreatedDate</em> column was applied as well:
<div id="attachment_10107" style="width: 616px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/09/get-data-from-salesforce-and-load-it-into-sql-server-using-ssis-query-results-1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10107" class="wp-image-10107 size-full" src="https://zappysys.com/blog/wp-content/uploads/2017/09/get-data-from-salesforce-and-load-it-into-sql-server-using-ssis-query-results-1.jpg" alt="Data preview for a subset of contacts" width="606" height="338" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/get-data-from-salesforce-and-load-it-into-sql-server-using-ssis-query-results-1.jpg 606w, https://zappysys.com/blog/wp-content/uploads/2017/09/get-data-from-salesforce-and-load-it-into-sql-server-using-ssis-query-results-1-300x167.jpg 300w" sizes="(max-width: 606px) 100vw, 606px" /></a><p id="caption-attachment-10107" class="wp-caption-text">Data preview for a subset of contacts</p></div></li>
</ul>
<p>SOQL has some limitations, so check <a href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_limits.htm" target="_blank" rel="noopener">SOQL Limits on Objects</a> page as well if you are writing a more complex query.</p>
<h3>Advanced Options: Convert Datetime Columns</h3>
<p>By default, datetime columns are outputted in <pre class="crayon-plain-tag">yyyy-MM-ddThh:mm:ss.fffZ</pre> format. Yet you can change that and output column in other formats:</p>
<ul>
<li><em>Default format</em> (e.g. <pre class="crayon-plain-tag">2017-07-07T14:41:35.000Z</pre>)</li>
<li><em>Local time</em> (depends on your locale settings e.g. <pre class="crayon-plain-tag">5/16/2017 14:41 PM</pre>)</li>
<li><em>UTC time</em> (depends on your locale settings, yet your time zone is taken into account, e.g. <pre class="crayon-plain-tag">5/16/2017 11:41 PM</pre>)</li>
</ul>
<p>Let&#8217;s take <em>CreatedDate</em> column and output it as UTC time:</p>
<ol>
<li>Here is the preview of data, before conversion:
<div id="attachment_1821" style="width: 604px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1821" class="wp-image-1821 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview.jpg" alt="Data preview before formatting datetime column" width="594" height="318" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview.jpg 594w, https://zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview-300x161.jpg 300w" sizes="(max-width: 594px) 100vw, 594px" /></a><p id="caption-attachment-1821" class="wp-caption-text">Data preview before formatting datetime column</p></div></li>
<li>Now let&#8217;s output the <em>CreatedDate</em> column as UTC time:
<div id="attachment_1822" style="width: 761px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/extract-data-from-salesforce-into-sql-server-using-ssis-datetime-in-utc.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1822" class="wp-image-1822 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/extract-data-from-salesforce-into-sql-server-using-ssis-datetime-in-utc.jpg" alt="Salesforce Source Date/Time Handling" width="751" height="579" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/extract-data-from-salesforce-into-sql-server-using-ssis-datetime-in-utc.jpg 751w, https://zappysys.com/blog/wp-content/uploads/2017/09/extract-data-from-salesforce-into-sql-server-using-ssis-datetime-in-utc-300x231.jpg 300w" sizes="(max-width: 751px) 100vw, 751px" /></a><p id="caption-attachment-1822" class="wp-caption-text">Salesforce Source Date/Time Handling</p></div></li>
<li>Let&#8217;s make another data preview. As you see <em>CreatedDate</em> time shifted to match UTC time:
<div id="attachment_1823" style="width: 604px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview-2.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1823" class="wp-image-1823 size-full" src="//zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview-2.jpg" alt="Data preview after formatting datetime column" width="594" height="357" srcset="https://zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview-2.jpg 594w, https://zappysys.com/blog/wp-content/uploads/2017/09/load-data-from-salesforce-into-sql-server-using-ssis-datetime-columns-preview-2-300x180.jpg 300w" sizes="(max-width: 594px) 100vw, 594px" /></a><p id="caption-attachment-1823" class="wp-caption-text">Data preview after formatting datetime column</p></div></li>
</ol>
<p>Similarly, you can format input datetime columns, when you use <pre class="crayon-plain-tag">Query</pre> <em>Access Mode</em> instead of <pre class="crayon-plain-tag">Table</pre>.</p>
<h2>Common Errors</h2>
<div class="content_block" id="custom_post_widget-1887"><h3>Truncation related error</h3>
<p style="text-align: justify;">The most common error you may face when you run an SSIS package is truncation error. During the design time only 300 rows are scanned from a source (a file or a REST API call response) to detect datatypes but at runtime, it is likely you will retrieve far more records. So it is possible that you will get longer strings than initially expected. For detailed instructions on how to fix common metadata related errors read an article "<a href="//zappysys.com/blog/handling-ssis-component-metadata-issues/" target="_blank" rel="noopener">How to handle SSIS errors (truncation, metadata issues)</a>".</p>

<h3>Authentication related error</h3>
Another frequent error you may get is an authentication error, which happens when you deploy/copy a package to another machine and run it there. Check <a href="#Deployment_to_Production">the paragraph below</a> to see why it happens and how to solve this problem.</div>
<h2>Deployment to Production</h2>
<div class="content_block" id="custom_post_widget-1932"><p style="text-align: justify;">In SSIS package <a href="https://docs.microsoft.com/en-us/sql/integration-services/security/access-control-for-sensitive-data-in-packages" target="_blank" rel="noopener">sensitive data such as tokens and passwords are by default encrypted by SSIS</a> with your Windows account which you use to create a package. So SSIS will fail to decrypt tokens/passwords when you run it from another machine using another Windows account. To circumvent this when you are creating an SSIS package which uses authentication components (e.g. an <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-oauth-connection-manager.htm" target="_blank" rel="noopener">OAuth Connection Manager</a> or an <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-http-connection-manager.htm" target="_blank" rel="noopener">HTTP Connection Manager</a> with credentials, etc.), consider using parameters/variables to pass tokens/passwords. In this way, you won’t face authentication related errors when a package is deployed to a production server.</p>
<p style="text-align: justify;">Check our article on <a href="https://zappysys.com/blog/how-to-run-an-ssis-package-with-sensitive-data-on-sql-server/" target="_blank" rel="noopener">how to configure packages with sensitive data on your production or development server</a>.</p></div>
<h2>Download Sample Package</h2>
<p>Be sure to download a <a href="//zappysys.com/blog/wp-content/uploads/2017/09/Export-data-from-Salesforce-to-SQL-Server-using-SSIS.zip" rel="noopener">sample SQL Server 2008 SSIS package</a>, in case you want to try it right away (you can upgrade it to a higher version).</p>
<div><div class="su-note"  style="border-color:#e5dd9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#fff7b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><strong>NOTE</strong>: Once you open the package, you won’t be able to run it immediately, but don’t panic. Just configure <em>OLE DB Source</em> to point to your database and set your Salesforce account credentials in <em>Salesforce Connection Manager</em>.</div></div></div>
<h2>Conclusion</h2>
<p>In this article, you learned how to export data from Salesforce to SQL Server. We used <a href="//zappysys.com/products/ssis-powerpack/ssis-salesforce-source-connector/" target="_blank" rel="noopener">Salesforce Source</a> to extract contacts from Salesforce and import them into a SQL Server database table. We did not have to configure much, just a few clicks and you were done. Also you learned how to use <a href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_sosl_intro.htm" target="_blank" rel="noopener">SOQL</a> to write custom queries and filter out the data you don&#8217;t need. Finally, now you know how to convert datetime columns into Local and UTC time to match the format you expect in your database.</p>
<p><strong>Keywords</strong><br />
Salesforce SQL Server Integration | Data loading Salesforce | Salesforce API SQL Server | Get data from Salesforce and load into SQL Server | Read data from Salesforce and write it to SQL Server  | Extract data from Salesforce to SQL Server</p>
<p>The post <a href="https://zappysys.com/blog/export-data-from-salesforce-to-sql-server-using-ssis/">How to read Salesforce data in SSIS &#8211; Export to SQL Server</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
