<?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 oracle db passthrough error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648816#M194437</link>
    <description>&lt;P&gt;could you please help me with below error meassage. I want to run a passthrough query to update a datetime column in oracle db.whose exact format is datetime27.6.&lt;/P&gt;&lt;P&gt;please help.!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;connect&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;to&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; oracle &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ORA2 (authdomain=xxxxxxx PATH =&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;(HOST=xxxxxx)(PORT=32xxx))(CONNECT_DATA=(SERVICE_NAME=xxx)))'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;execute&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;UPDATE ECGM.V_CASE_UDF_DATE_VALUE&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;SET UDF_VALUE=TO_TIMESTAMP(&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'06-AUG-2019'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'DD-MON-YYYY'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;WHERE udf_nm =&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'X_RECEIVE_DT_TXT'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; and case_rk=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;100558&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;disconnect&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ora2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a error as-&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 13:09:20 GMT</pubDate>
    <dc:creator>nid197</dc:creator>
    <dc:date>2020-05-19T13:09:20Z</dc:date>
    <item>
      <title>oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648816#M194437</link>
      <description>&lt;P&gt;could you please help me with below error meassage. I want to run a passthrough query to update a datetime column in oracle db.whose exact format is datetime27.6.&lt;/P&gt;&lt;P&gt;please help.!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;connect&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;to&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; oracle &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ORA2 (authdomain=xxxxxxx PATH =&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;(HOST=xxxxxx)(PORT=32xxx))(CONNECT_DATA=(SERVICE_NAME=xxx)))'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;execute&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;UPDATE ECGM.V_CASE_UDF_DATE_VALUE&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;SET UDF_VALUE=TO_TIMESTAMP(&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'06-AUG-2019'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'DD-MON-YYYY'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;WHERE udf_nm =&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'X_RECEIVE_DT_TXT'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; and case_rk=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;100558&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;disconnect&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ora2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a error as-&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:09:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648816#M194437</guid>
      <dc:creator>nid197</dc:creator>
      <dc:date>2020-05-19T13:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648818#M194438</link>
      <description>&lt;P&gt;I get error as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error 22 -322:expecting a name.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:10:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648818#M194438</guid>
      <dc:creator>nid197</dc:creator>
      <dc:date>2020-05-19T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648852#M194452</link>
      <description>&lt;P&gt;With any code that generates a SAS error, copy the procedure&amp;nbsp; text and any messages from the log and paste the copied text into a box opened on the forum using the &amp;lt;/&amp;gt; icon. Many SAS error messages include some diagnostic characters and having the entire message will help. Paste code and log entries into a box to prevent main message windows on this forum from reformatting text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The log would be plain text so if it contains something sensitive you can edit it after pasting into the code box.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648852#M194452</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-19T14:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648879#M194465</link>
      <description>Do you really need pass-through for the task?    You have a two-level name of the table ECGM.V_CASE_UDF_DATE_VALUE.  If you are connecting to the ECGM scheme, then you probably should only specify V_CASE_UDF_DATE_VALUE.  As an aside, a naming conventions generally have object with a name lilke V_xxx used for views.  It is is not advisable to update views.  &lt;BR /&gt;</description>
      <pubDate>Tue, 19 May 2020 15:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648879#M194465</guid>
      <dc:creator>DavePrinsloo</dc:creator>
      <dc:date>2020-05-19T15:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648905#M194477</link>
      <description>&lt;P&gt;Add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;by ora2&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to the EXECUTE statement.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648905#M194477</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-19T16:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648912#M194481</link>
      <description>&lt;P&gt;no its a naming convention we have it here. its a table and not a view.And I want to update it using passthrough as there are some records which are not getting updated with implicit method.Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648912#M194481</guid>
      <dc:creator>nid197</dc:creator>
      <dc:date>2020-05-19T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648947#M194498</link>
      <description>&lt;LI-SPOILER&gt;&lt;PRE&gt;        proc sql;
28         connect to oracle as ora2 (authdomain=casemgmt_db_auth PATH ='(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
29         (HOST=xxxxxxxxx)(PORT=xx))(CONNECT_DATA=(SERVICE_NAME=xxx)))');
30         execute
31         (
32         UPDATE ECMB.CASE_UDF_DATE_VALUE
33         SET UDF_VALUE=to_char('06-AUG-2019','dd/mon/yyyy hh24:mi:ss')
34         WHERE udf_nm ='X_RECEIVE_DT_TXT' and case_rk=100558
35         )by ora2;
ERROR: ORACLE execute error: ORA-00942: table or view does not exist.&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 19 May 2020 18:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648947#M194498</guid>
      <dc:creator>nid197</dc:creator>
      <dc:date>2020-05-19T18:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648998#M194513</link>
      <description>&lt;P&gt;Well, the message is clear:&lt;/P&gt;
&lt;PRE&gt;ERROR: ORACLE execute error: ORA-00942: table or view does not exist.&lt;/PRE&gt;
&lt;P&gt;Check with your Oracle admins to get the correct table name.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 19:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/648998#M194513</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-19T19:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649153#M194582</link>
      <description>&lt;P&gt;No because it gives me data for select query on same table.Thanks!&lt;/P&gt;&lt;PRE&gt;25         GOPTIONS ACCESSIBLE;
26         proc sql;
27         CONNECT TO oracle as ora2 (authdomain=casemgmt_db_auth PATH
27       ! ='(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxx)(PORT=xxx))(CONNECT_DATA=(SERVICE_NAME=xxx)))
27       ! ');
28         create table abc as
29         select * from connection to ora2
30         (select * from ecmb.CASE_UDF_DATE_VALUE where udf_nm ='X_RECEIVE_DT_TXT'
31           and case_rk=100558 order by valid_from_dttm desc
32         );
NOTE: Table WORK.ABC created, with 1 rows and 6 columns.&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 May 2020 10:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649153#M194582</guid>
      <dc:creator>nid197</dc:creator>
      <dc:date>2020-05-20T10:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649162#M194589</link>
      <description>&lt;P&gt;The difference seems to be that when you read the data, you refer to the Oracle schema as "ecmb", when you try to update, you refer to it as "ECMB". Can that be what is provoking the error?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 11:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649162#M194589</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-05-20T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: oracle db passthrough error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649188#M194600</link>
      <description>&lt;P&gt;When Oracle tells you something is not there, then it's not there, period. Check the whole thing with your Oracle admins, because it happens there.&lt;/P&gt;
&lt;P&gt;Case sensitivity might come into play here; using lowercase might cause the SAS/ACCESS (or the Oracle client) to use quotes around the schema/library name, and that forces case sensitivity on the Oracle side.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 12:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/oracle-db-passthrough-error/m-p/649188#M194600</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-20T12:12:58Z</dc:date>
    </item>
  </channel>
</rss>

