<?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: Splunk DB Connect 1: How to set Oracle schema in DB connect query? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147511#M72192</link>
    <description>&lt;P&gt;Thanks very much!. Just a question: how to know Oracle client version used by Splunk?&lt;BR /&gt;
Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2015 10:35:42 GMT</pubDate>
    <dc:creator>maurelio79</dc:creator>
    <dc:date>2015-06-16T10:35:42Z</dc:date>
    <item>
      <title>Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147507#M72188</link>
      <description>&lt;P&gt;Hi to all, i'd like to make a query to Oracle DB setting the schema in the query: how can i do it?&lt;BR /&gt;
If i try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    ALTER SESSION SET CURRENT_SCHEMA='my_schema'
    SELECT * FROM my_table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i get this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;command="dbquery", A database error occurred: ORA-02421: missing or invalid schema authorization identifier
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone help me?&lt;BR /&gt;
Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147507#M72188</guid>
      <dc:creator>maurelio79</dc:creator>
      <dc:date>2015-06-10T13:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147508#M72189</link>
      <description>&lt;P&gt;A few suggestions here, if you haven't seen them already:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.oracle.com/thread/2270534"&gt;https://community.oracle.com/thread/2270534&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.oracle.com/thread/595554"&gt;https://community.oracle.com/thread/595554&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147508#M72189</guid>
      <dc:creator>MichaelPriest</dc:creator>
      <dc:date>2015-06-10T13:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147509#M72190</link>
      <description>&lt;P&gt;I tryed also without single quotes and i get&lt;/P&gt;

&lt;P&gt;A database error occurred: ORA-00922: missing or invalid option&lt;/P&gt;

&lt;P&gt;But now i have a doubt: the username that i use for the query must have the same name of the schema?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147509#M72190</guid>
      <dc:creator>maurelio79</dc:creator>
      <dc:date>2015-06-10T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147510#M72191</link>
      <description>&lt;P&gt;DB Connect can only issue "SELECT" commands on read-only connections. On connections which allow writes, they can also issue INSERT, UPDATE, and DELETE, but that is the extent of DBX's capability. All other SQL commands are forbidden, and no semi-colons are allowed, so you can't script multiple commands together. If you need to change the schema name used in your query, you will have to embed it explicitly in the FROM clause:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;select * from schema1.table1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Jun 2015 16:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147510#M72191</guid>
      <dc:creator>pmdba</dc:creator>
      <dc:date>2015-06-13T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147511#M72192</link>
      <description>&lt;P&gt;Thanks very much!. Just a question: how to know Oracle client version used by Splunk?&lt;BR /&gt;
Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 10:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147511#M72192</guid>
      <dc:creator>maurelio79</dc:creator>
      <dc:date>2015-06-16T10:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 1: How to set Oracle schema in DB connect query?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147512#M72193</link>
      <description>&lt;P&gt;By default Splunk uses JDBC-Thin drivers, and doesn't require the full Oracle client. It can also use JDBC-Thick connections, using the full OCI client, but you would have to install it yourself and would presumably know the version.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2015 04:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-1-How-to-set-Oracle-schema-in-DB-connect-query/m-p/147512#M72193</guid>
      <dc:creator>pmdba</dc:creator>
      <dc:date>2015-06-28T04:32:14Z</dc:date>
    </item>
  </channel>
</rss>

