# Integration with Oracle Data Transform

**URL:** <https://community.hubspot.com/t/integration-with-oracle-data-transform/95346>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [December 4, 2023, 6:52pm UTC](https://community.hubspot.com/t/integration-with-oracle-data-transform/95346 "2023-12-04T18:52:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DAdmin9](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DAdmin9](https://community.hubspot.com/u/DAdmin9)\
**Post date:** [December 4, 2023, 6:52pm UTC](https://community.hubspot.com/t/integration-with-oracle-data-transform/95346/1 "2023-12-04T18:52:12Z")

</div>

We need something else which is the SQL statement to retrieve all the required fields from both the tickets table and calls table.

We have some fields that are required in the project in both tables tickets and calls.

We need the SQL statement that calls these fields to fetch them using Oracle Data Transform.

this is a link for our request:

[https://drive.google.com/file/d/1r8zAbAc0\_w8ouODcldL2F10DhkEyablr/view?usp=sharing](https://drive.google.com/file/d/1r8zAbAc0_w8ouODcldL2F10DhkEyablr/view?usp=sharing)

Regards,

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 6, 2023, 8:55pm UTC](https://community.hubspot.com/t/integration-with-oracle-data-transform/95346/2 "2023-12-06T20:55:01Z")

</div>

Hi, @DAdmin9 👋 Thanks for the interesting question.

It sounds like you’re looking for a SQL query to retrieve specific fields from the tickets and calls tables in your Oracle Database for use with HubSpot portal. Is that correct?

While HubSpot itself cannot provide a custom SQL statement for your database, providing more details about your requirements could enable members of the community with relevant experience to offer guidance.

Questions to help the community:

- Please specify the exact fields you need from these tables
- How you plan to use this data within HubSpot?
- Are you aiming to update existing records, create new ones, or use the data for analysis and reporting?

Hopefully, some of our community members might be able to share insights or examples of SQL queries they’ve used previously.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![DAdmin9](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DAdmin9](https://community.hubspot.com/u/DAdmin9)\
**Post date:** [December 7, 2023, 1:37pm UTC](https://community.hubspot.com/t/integration-with-oracle-data-transform/95346/3 "2023-12-07T13:37:08Z")

</div>

The project will move the data from HubSpot to the Autonomous database for advanced cloud supervision on Oracle Cloud Infrastructure. We will use the data same as your system, we just need a fully real time integration system to supervise these data alongside other data from different BUs. As for the required fields, we need these fields from Tickets:

Branch  
Branch\_office  
cause\_of\_complaint  
close\_date  
create\_date  
pipeline  
product  
product\_type  
service\_category  
ticket\_belongs\_to  
Ticket\_id  
Ticket\_reason  
Source  
Ticket\_source  
Ticket\_Status  
Ticket\_Type  
Time\_To\_Clsoe\_HH\_MM\_SS

---

<div class="post-metadata">

**Author:** ![DAdmin9](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DAdmin9](https://community.hubspot.com/u/DAdmin9)\
**Post date:** [December 7, 2023, 1:56pm UTC](https://community.hubspot.com/t/integration-with-oracle-data-transform/95346/4 "2023-12-07T13:56:28Z")

</div>

We do not need an API call. We want the SQL queries to fetch these data and the data from the Calls table, because like you have seen in the video above, we do not know where the columns or data come from.

Therefore, we need the SQL queries used for tickets and calls.
