<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS and Salesforce - Your input needed in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/431421#M13367</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS Scripts to Connect SAS to Salesforce&amp;nbsp;&lt;IMG src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" border="0" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BASE SAS 9.4 M5 and DEVART ODBC WORKS - SEE EXAMPLE BELOW - SEE DEVART ON SALESFORCE APPS STORE&lt;/P&gt;&lt;P&gt;&amp;nbsp;I wrote this comment for other SAS users who may need to do this...&lt;/P&gt;&lt;P&gt;Here is working SAS CODE AND SYNTAX:&lt;BR /&gt;/*ODBC TO SALESFORCE SANDBOX - FOLLOW INSTRUCTIONS FROM DOWNLOAD*/&lt;BR /&gt;libname SANDBOX odbc&lt;BR /&gt;datasrc='SANDBOX'&lt;BR /&gt;user=’SALESFORCE USER NAME'&lt;BR /&gt;password='PASSWORD'&lt;BR /&gt;schema=ALL&lt;BR /&gt;preserve_tab_names=yes&lt;BR /&gt;preserve_col_names=yes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*UPDATE TEXT FIELD USING ID*/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;update SANDBOX.YOUROBJECT__c&lt;BR /&gt;set YOURFIELD__c = “I WAS HERE WITH SAS”&lt;BR /&gt;where ID = "YOURIDSTRINGHERE";&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*INSERT EXAMPLE*/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;insert into SANDBOX.YOUROBJECT__c&lt;BR /&gt;set YOURPARENTRECORD__c = 'YOURSTRINGHSERE', NAME = "WHATEVER", YOURFIELD__c = "I WAS HERE WITH SAS";&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updates are a few tenths of second while inserts are 2-3 seconds (for me anyway)...Good solution if you just need to update a few thousand records&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Bread Crumbs and Circuses for all&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 19:32:53 GMT</pubDate>
    <dc:creator>mich1</dc:creator>
    <dc:date>2018-01-26T19:32:53Z</dc:date>
    <item>
      <title>SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/401389#M12200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using SAS with Salesforce we could use your help. I am looking for advice. Feel free to contact me directly!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a sample of the questions we need help with:&lt;/P&gt;
&lt;P&gt;1/ Do you use custom objects in Salesforce?&lt;/P&gt;
&lt;P&gt;2/ What is the typical size of a large collection of objects in Salesforce? How many records? Size per record?&lt;/P&gt;
&lt;P&gt;3/ Do you write data to Salesforce?&lt;/P&gt;
&lt;P&gt;4/ Can you provide same queries that you run from SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/401389#M12200</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-10-05T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/403324#M12246</link>
      <description>&lt;P&gt;I asked a couple of people this question via e-mail. Here is what I was told...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a sample of the questions we need help with:&lt;BR /&gt; 1)&amp;nbsp;&lt;STRONG&gt;Do you use custom objects in Salesforce? &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We access numerous custom objects (both objects and custom fields) in the SFDC implementation.&amp;nbsp; From the perspective of the driver, there really is no difference between built in and custom.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; 2)&amp;nbsp;&lt;STRONG&gt;What is the typical size of a large collection of objects in Salesforce? &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m not clear on what you are looking for here.&amp;nbsp; What are you defining as a collection of objects? &amp;nbsp;How many records? We regularly pull tens of thousands to hundreds of thousands of record out in a matter of minutes.&amp;nbsp; Size per record?&amp;nbsp; Varies by object – many of the objects are quite wide, up to hundreds of fields.&amp;nbsp; I would have to calculate size, not immediately available.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; 3)&amp;nbsp;&lt;STRONG&gt;Do you write data to Salesforce?&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes.&amp;nbsp; We can write directly via the ODBC driver with SQL INSERT and UPDATE statements.&amp;nbsp; We can also write via calls to the SFDC web services API.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; 4)&amp;nbsp;&lt;STRONG&gt;Can you provide same queries that you run from SAS?&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said above, we don’t run queries directly from SAS.&amp;nbsp; We utilize Data Management Studio and the SFDC ODBC driver for data pulls from SFDC.&amp;nbsp; Most of the queries are quite simple, such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT *&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;FROM SFORCE.ACCOUNT&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE SYS_LASTMODIFIEDDATE &amp;gt; '%%FILTER_LAST_UPDATE_DTTM%%';&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 19:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/403324#M12246</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-10-11T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/418776#M12812</link>
      <description>Hi JBailey,&lt;BR /&gt;&lt;BR /&gt;Could you please share the syntax used to establish the connection to SharePoint using ODBC?&lt;BR /&gt;&lt;BR /&gt;I am currently trying to find a way connecting our SAS base reports on SalesForce (in order to make use of the data available in the account and contact objects).&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance for the support!&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Florent</description>
      <pubDate>Wed, 06 Dec 2017 13:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/418776#M12812</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2017-12-06T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/419331#M12846</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15202"&gt;@Florent&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you really mean Sharepoint? Either way, it is probably best to open a new topic because it will help people find the answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/419331#M12846</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-12-07T20:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/419336#M12848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No indeed, I meant SalesForce&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Florent&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:33:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/419336#M12848</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2017-12-07T20:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/420823#M12915</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15202"&gt;@Florent&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you start another topic? I have an answer for you but I don't want to overload this topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/420823#M12915</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-12-13T15:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/431421#M13367</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS Scripts to Connect SAS to Salesforce&amp;nbsp;&lt;IMG src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" border="0" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BASE SAS 9.4 M5 and DEVART ODBC WORKS - SEE EXAMPLE BELOW - SEE DEVART ON SALESFORCE APPS STORE&lt;/P&gt;&lt;P&gt;&amp;nbsp;I wrote this comment for other SAS users who may need to do this...&lt;/P&gt;&lt;P&gt;Here is working SAS CODE AND SYNTAX:&lt;BR /&gt;/*ODBC TO SALESFORCE SANDBOX - FOLLOW INSTRUCTIONS FROM DOWNLOAD*/&lt;BR /&gt;libname SANDBOX odbc&lt;BR /&gt;datasrc='SANDBOX'&lt;BR /&gt;user=’SALESFORCE USER NAME'&lt;BR /&gt;password='PASSWORD'&lt;BR /&gt;schema=ALL&lt;BR /&gt;preserve_tab_names=yes&lt;BR /&gt;preserve_col_names=yes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*UPDATE TEXT FIELD USING ID*/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;update SANDBOX.YOUROBJECT__c&lt;BR /&gt;set YOURFIELD__c = “I WAS HERE WITH SAS”&lt;BR /&gt;where ID = "YOURIDSTRINGHERE";&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*INSERT EXAMPLE*/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;insert into SANDBOX.YOUROBJECT__c&lt;BR /&gt;set YOURPARENTRECORD__c = 'YOURSTRINGHSERE', NAME = "WHATEVER", YOURFIELD__c = "I WAS HERE WITH SAS";&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updates are a few tenths of second while inserts are 2-3 seconds (for me anyway)...Good solution if you just need to update a few thousand records&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Bread Crumbs and Circuses for all&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 19:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/431421#M13367</guid>
      <dc:creator>mich1</dc:creator>
      <dc:date>2018-01-26T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Salesforce - Your input needed</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/564485#M17335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is exciting. There is a new SAS/ACCESS product for Salesforce. This product requires SAS 9.4M6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information take a look at the doc.&lt;/P&gt;
&lt;P&gt;SAS Doc (Non-Relational) &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=acreldb&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en" target="_self"&gt;https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=acnrdb&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-and-Salesforce-Your-input-needed/m-p/564485#M17335</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2019-06-07T15:03:44Z</dc:date>
    </item>
  </channel>
</rss>

