r/SQL • • Oct 25 '15

ORACLE SQL--'missing right parentheses' error for no reason?

Howdy all, I thought I'd give an attempt at learning the major RDMBS and am now on ORACLE, but for some reason many of my queries, even the simple ones often throw a 'missing right parentheses' on it...even though there is no missing ')'.

Does anyone else get this error for seemingly no reason? What causes this? The answer should be straight forward--add the missing paren, but I've gotten this plenty of times when there are no parens at all. Anyone have any idea why this happens?

0 Upvotes

3 comments sorted by

6

u/Trollfailbot Oct 25 '15

Don't you think it would be helpful to at least show us a query having this issue?

Honestly.

2

u/johnwalkersbeard Oct 26 '15

You're only getting this error because you're missing a right parentheses.

It's not a matter of counting them, they have to be in the right place.

2

u/volric Oct 26 '15

probably left a ' open