ORA-00907 Missing Right Parenthesis

toilettenseife

New Member
Joined
Oct 2, 2015
Messages
13
Good Morning,

I'm having issues with my joins. I'm getting an ORA-00907 Missing Right Parenthesis error with the following joins:

FROM First_Time_Removal_TSI_tbl TSIT INNER JOIN
((OSS_ADMIN.PO_MSTR POMH INNER JOIN OSS_ADMIN.REM_HIST RHIST2 ON (POMH.P_NBR = RHIST2.HS_REPAIR_ODR_NBR) AND (POMH.P_DTE_CLS = RHIST2.HS_REPAIR_DTE))
INNER JOIN OSS_ADMIN.RELIAB SIR ON POMH.P_CC = SIR.C_C)
ON First_Time_Removal_TSI_tbl.SI = POMH.P_CC;

Basically, I want to join the PO_MSTR table to a few other tables. I want to join it to REM_HIST by two fields; join it to RELIAB by one field; and join it to First_Time_Removal_TSI_tbl by one field.

The error says missing parenthesis but I have closed all my parenthesis. Any ideas on what the issue is?

Thanks!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Have you checked the rest of the SQL statement?
 
Upvote 0
Rebuilding was bit by bit was what I was going to suggest next, good luck.:)
 
Upvote 0
Not sure about Oracle but you may not even need parentheses in your join clause.
 
Upvote 0

Forum statistics

Threads
1,221,780
Messages
6,161,887
Members
451,730
Latest member
BudgetGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top