Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9095109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:31:03+00:00 2026-06-16T23:31:03+00:00

Sorry for adding this to the missing right parenthesis pool on the site but

  • 0

Sorry for adding this to the “missing right parenthesis” pool on the site but I poured through those and these were the only two that seemed similar to my code and neither helped me fix my issue although I do think they helped get me headed in the right direction. ORA-00907 when trying to create a CHECK constraint and Oracle: Make a composite Key containing three Foregin keys

I’m also not a database person but I have no choice but to take care of this so any help would be appreciated. I think my issue seems to really have something to do with where “Constraint” is located or most likely where or how I have added our Tablespace references. Adding Tablespace references was the only thing I changed in the script from the original provided by the app company.

This is one of the items from the original script provided by the company (edited down for this post)(all the others are similar and having the same error at the same spot):

CREATE TABLE my_sys_cache_entry
(
            myPVStream BLOB,
            myEntrySource VARCHAR2 (32) 
,  CONSTRAINT my_sys_cache_entry_PK PRIMARY KEY (myInsKey)
)
LOB(myPVStream) STORE AS (DISABLE STORAGE IN ROW);

This is the last change I made to it to try to get it to work with our Tablespace references added:

CREATE TABLE my_sys_cache_entry
(
            myPVStream BLOB,
            myEntrySource VARCHAR2 (32),CONSTRAINT my_sys_cache_entry_PK PRIMARY KEY (myInsKey) TABLESPACE "MY_DYN_IDX_01"
) TABLESPACE "MY_DYN_DAT_01" 
            LOB(myPVStream) STORE AS (TABLESPACE "MY_DYN_LOB_01" DISABLE STORAGE IN ROW);

This is the error I’m getting:

myEntrySource VARCHAR2 (32),CONSTRAINT my_sys_cache_entry_PK PRIMARY KEY (myInsKey) TABLESPACE "MY_DYN_IDX_01"
                                                                                                *
ERROR at line 23:
ORA-00907: missing right parenthesis  

I’ve tried several ways to get this to work. Originally CONSTRAINT was on a new line under where it is now, the last ) was on a line below that (see example from original). We still got the error. I put the ) on the same line after the first TABLESPACE and we still got the error. I move everything from CONSTRAINT onward to one line at the end and still got the error. I can’t recall if I tried it with the , removed before the CONSTRAINT. Any thoughts?

I can’t test it without the Tablespace references.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:31:04+00:00Added an answer on June 16, 2026 at 11:31 pm

    add “using index” in there:

    CONSTRAINT my_sys_cache_entry_PK PRIMARY KEY (myInsKey)
     USING INDEX TABLESPACE "MY_DYN_IDX_01"
    

    the LOB part is fine.
    eg

    SQL> CREATE TABLE my_sys_cache_entry
      2  (
      3              myInsKey number, myPVStream BLOB,
      4              myEntrySource VARCHAR2 (32),
      5              CONSTRAINT my_sys_cache_entry_PK PRIMARY KEY (myInsKey) using index TABLESPACE users
      6  ) TABLESPACE users
      7              LOB(myPVStream) STORE AS (TABLESPACE users DISABLE STORAGE IN ROW);
    
    Table created.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for this simple question, but I can't solve it... There is an example:
Sorry, I know this question is easy, but I don't know how to get
Sorry but I am not sure how to ask this question but I am
Sorry if this question seems stupid, but it's stumped me for a couple days,
Sorry if this is a stupid question, but is there an easy way to
Sorry if this has been asked somewhere else, but I have looked all around,
Sorry for the simple question, but this has been killing me and I can't
(Sorry this is verbose) I am experimenting with adding OpenSSL support to a Cocoa
Sorry If this is simple but I need some help with my navigation bar.
Sorry if this is a repeat, but I couldnt find the answer on any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.