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 9230251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:46:43+00:00 2026-06-18T05:46:43+00:00

So tried using an ENUM over instructors favoured ‘CHECK(col_name IN (‘ENUM’, ‘LIST’)) method and

  • 0

So tried using an ENUM over instructors favoured ‘CHECK(col_name IN (‘ENUM’, ‘LIST’)) method and got the missing right parentheses error. Could’t figure it out and would appreciate any input. My curiousity is academic, the check condition works fine, so no rush.


SQL> CREATE TABLE service_labour_detail
2 (call_num NUMBER(8),
3 labour_code ENUM('A','B','C','D'),
4 labour_hours NUMBER(3,1) NOT NULL,
5 PRIMARY KEY(call_num, labour_code),
6 FOREIGN KEY(call_num)
7 REFERENCES service_call(call_num));
labour_code ENUM('A','B','C','D'),
*
ERROR at line 3:
ORA-00907: missing right parenthesis

Cheers!

Fraser

  • 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-18T05:46:44+00:00Added an answer on June 18, 2026 at 5:46 am

    enum is not a valid data type in Oracle. enum is a data type in MySQL but, so far as I’m aware, not many other databases support it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to convert enum to a generic List by using the following code
I've got a list of types which can be send over the network, take
Using JPA, can we define an enum as id of an entity? I've tried
I tried using arrays but I don't need every single element, and so it
I tried using date/time, time, but it doesn't help. Exception Details: System.Web.HttpException: DataBinding: 'DatePickerControl.DatePicker'
I tried using curl syntax: curl http:// localhost:8983/solr/update/csv?stream.file=/usr/local/src/apache-solr-3.6.0/example/exampledocs/my+file.csv&separator=;&stream.contentType=text/plain;charset=utf-8 with no luck. I get: -bash:
I tried using the following code for a HTML page, but it doesn't work.
I tried using juggernaut cocoa: https://github.com/fpotter/juggernaut-cocoa Added this line to my code: JuggernautClient *client
I tried using axis2 1.6 (and nightly 1.7) to generate Java code from the
I tried using make defconfig to compile the kernel, but as expected, it failed

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.