<?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: How to Call Oracle Stored Procedures from Databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14600#M9072</link>
    <description>&lt;P&gt;&lt;A href="https://datathirst.net/blog/2018/10/12/executing-sql-server-stored-procedures-on-databricks-pyspark/" target="test_blank"&gt;https://datathirst.net/blog/2018/10/12/executing-sql-server-stored-procedures-on-databricks-pyspark/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this link. this may help you&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 05:40:39 GMT</pubDate>
    <dc:creator>sher</dc:creator>
    <dc:date>2023-01-06T05:40:39Z</dc:date>
    <item>
      <title>How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14596#M9068</link>
      <description>&lt;P&gt;How to Call Oracle Stored Procedures from Databricks?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 10:53:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14596#M9068</guid>
      <dc:creator>Raghu101</dc:creator>
      <dc:date>2022-12-26T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14597#M9069</link>
      <description>&lt;P&gt;here i have code&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;val url =&lt;/LI&gt;&lt;LI&gt;   "jdbc:mysql://yourIP:yourPort/test?&lt;/LI&gt;&lt;LI&gt;   user=yourUsername; password=yourPassword"&lt;/LI&gt;&lt;LI&gt;   val df = sqlContext&lt;/LI&gt;&lt;LI&gt;   .read&lt;/LI&gt;&lt;LI&gt;   .format("jdbc")&lt;/LI&gt;&lt;LI&gt;   .option("url", url)&lt;/LI&gt;&lt;LI&gt;   .option("dbtable", "people")&lt;/LI&gt;&lt;LI&gt;   .load()&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:13:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14597#M9069</guid>
      <dc:creator>Meghala</dc:creator>
      <dc:date>2022-12-26T11:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14598#M9070</link>
      <description>&lt;P&gt;Chiming in because I don't know if the above quite answers how to execute a stored procedure. I use PySpark. I believe this should work for oracle, but only was able to test it with MS Sql Server. I had to truncate a table, but the code works for a stored procedure as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/74439747/is-there-a-way-to-just-truncate-a-remote-mssql-table-from-databricks" target="test_blank"&gt;https://stackoverflow.com/questions/74439747/is-there-a-way-to-just-truncate-a-remote-mssql-table-from-databricks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General idea is to get the jdbc connection from the jvm gateway and use that to execute sql commands.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;sqlSurl = "jdbc:[driver]//ip..."
&amp;nbsp;
  con = (sc._gateway
          .jvm
          .java
          .sql
          .DriverManager
          .getConnection(sqlsUrl, \
            username, \
            password)
    )
  con.prepareCall(query).execute()
  con.close()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 23:52:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14598#M9070</guid>
      <dc:creator>jonathan-dufaul</dc:creator>
      <dc:date>2022-12-30T23:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14599#M9071</link>
      <description>&lt;P&gt;Check this link, maybe it will help you solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/60354376/how-to-execute-a-stored-procedure-in-azure-databricks-pyspark" target="test_blank"&gt;https://stackoverflow.com/questions/60354376/how-to-execute-a-stored-procedure-in-azure-databricks-pyspark&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:29:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14599#M9071</guid>
      <dc:creator>AdrianLobacz</dc:creator>
      <dc:date>2023-01-05T12:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14600#M9072</link>
      <description>&lt;P&gt;&lt;A href="https://datathirst.net/blog/2018/10/12/executing-sql-server-stored-procedures-on-databricks-pyspark/" target="test_blank"&gt;https://datathirst.net/blog/2018/10/12/executing-sql-server-stored-procedures-on-databricks-pyspark/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this link. this may help you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 05:40:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14600#M9072</guid>
      <dc:creator>sher</dc:creator>
      <dc:date>2023-01-06T05:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14601#M9073</link>
      <description>&lt;P&gt;Thanks it helps me as well​&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2023 08:16:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14601#M9073</guid>
      <dc:creator>Meghala</dc:creator>
      <dc:date>2023-01-14T08:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14602#M9074</link>
      <description>&lt;P&gt;It was needed me as well so thanks ​&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2023 08:16:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/14602#M9074</guid>
      <dc:creator>Meghala</dc:creator>
      <dc:date>2023-01-14T08:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Oracle Stored Procedures from Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/146365#M52629</link>
      <description>&lt;P&gt;Read article on &lt;A href="https://thelogicplus.com/migration/oracle-to-databricks/how-to-migrate-oracle-data-integrator-to-databricks-49xdcr7w15f64" target="_self"&gt;thelogicplus&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2026 18:21:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-oracle-stored-procedures-from-databricks/m-p/146365#M52629</guid>
      <dc:creator>thelogicplus</dc:creator>
      <dc:date>2026-01-31T18:21:02Z</dc:date>
    </item>
  </channel>
</rss>

