<?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 Using Oracle Instant Client to Run SDE command line tool from Windows in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/using-oracle-instant-client-to-run-sde-command/m-p/151445#M8522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently, with the help of ESRI Support, I was able to resolve a problem we were having using the SDE command line tools on a Windows server that I thought I'd share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to have the full, 32-bit Oracle Client installed to support other software that runs on top of core ESRI, but the SDE command line tools require a 64-bit Oracle client.&amp;nbsp; To get around this, we installed the 64-bit version of the Oracle Instant Client in parallel with the full 32-bit client.&amp;nbsp; (the Instant Client is available from ESRI Support or Oracle; and there's not actually an install involved - just need to copy the folder/files local to the workstation/server you will be running the SDE command line tools).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to support both clients, the path to the 64-bit client folder needs to be &lt;STRONG&gt;first&lt;/STRONG&gt; in the PATH system environment variable (Start &amp;gt; Computer &amp;gt; Properties &amp;gt; Advanced System Settings &amp;gt; Environment Variables, on Windows Server 2008).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To connect using the Easy Connect naming method (&lt;SPAN style="color: #222222; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;eliminates the need for service name lookup in the tnsnames.ora file and bypasses the 32-bit client)&lt;/SPAN&gt;, use the following syntax (sdeversion, in this example):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;sdeversion -o describe&amp;nbsp; -V DEFAULT -i sde:oracle11g -u sde -p &amp;lt;sde_pword&amp;gt;@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;/&amp;lt;SERVICE_&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;NAME&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;This syntax should work for any of the tools - the critical part being the '-i ...' connection parameter info.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;You can ask your DBA for the HOST, PORT and SERVICE_NAME parameters, or just view the results of a tnsping of your database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Hope this is of some help to some folks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Aug 2014 20:37:35 GMT</pubDate>
    <dc:creator>WilliamD_Arcy</dc:creator>
    <dc:date>2014-08-17T20:37:35Z</dc:date>
    <item>
      <title>Using Oracle Instant Client to Run SDE command line tool from Windows</title>
      <link>https://community.esri.com/t5/data-management-questions/using-oracle-instant-client-to-run-sde-command/m-p/151445#M8522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently, with the help of ESRI Support, I was able to resolve a problem we were having using the SDE command line tools on a Windows server that I thought I'd share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to have the full, 32-bit Oracle Client installed to support other software that runs on top of core ESRI, but the SDE command line tools require a 64-bit Oracle client.&amp;nbsp; To get around this, we installed the 64-bit version of the Oracle Instant Client in parallel with the full 32-bit client.&amp;nbsp; (the Instant Client is available from ESRI Support or Oracle; and there's not actually an install involved - just need to copy the folder/files local to the workstation/server you will be running the SDE command line tools).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to support both clients, the path to the 64-bit client folder needs to be &lt;STRONG&gt;first&lt;/STRONG&gt; in the PATH system environment variable (Start &amp;gt; Computer &amp;gt; Properties &amp;gt; Advanced System Settings &amp;gt; Environment Variables, on Windows Server 2008).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To connect using the Easy Connect naming method (&lt;SPAN style="color: #222222; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;eliminates the need for service name lookup in the tnsnames.ora file and bypasses the 32-bit client)&lt;/SPAN&gt;, use the following syntax (sdeversion, in this example):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;sdeversion -o describe&amp;nbsp; -V DEFAULT -i sde:oracle11g -u sde -p &amp;lt;sde_pword&amp;gt;@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;/&amp;lt;SERVICE_&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;NAME&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;This syntax should work for any of the tools - the critical part being the '-i ...' connection parameter info.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;You can ask your DBA for the HOST, PORT and SERVICE_NAME parameters, or just view the results of a tnsping of your database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Hope this is of some help to some folks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 20:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-oracle-instant-client-to-run-sde-command/m-p/151445#M8522</guid>
      <dc:creator>WilliamD_Arcy</dc:creator>
      <dc:date>2014-08-17T20:37:35Z</dc:date>
    </item>
  </channel>
</rss>

