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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:49:43+00:00 2026-06-08T08:49:43+00:00

I have created a table named sv_hardware(column: ip_ adrs). Now I want to create

  • 0

I have created a table named sv_hardware(column: ip_ adrs).

Now I want to create a table where ip_ adrs will be foreign key so I coded:

Create table sv_req_info(
"server_no" number not null PRIMARY KEY,
"host_ name" varchar2(100),
"cur_ status"  varchar2(100),
"loc " varchar2(100),
"buss_roles"  varchar2(100),
"rack _no"  varchar2(100),
"rk U_ consump"  varchar2(100),
"Rmarks_owner"  varchar2(100),
"ip_ adrs " varchar2(100) ,
"sv_type_cat" varchar2(100),
date_added  date,
CONSTRAINT fk_sv_hardware
  FOREIGN KEY (ip_adrs)
  REFERENCES sv_hardware(ip_adrs));

An error occurs ORA-00907: missing right parenthesis

  • 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-08T08:49:45+00:00Added an answer on June 8, 2026 at 8:49 am
    CREATE TABLE sv_hardware 
    (
      ip_adrs   VARCHAR(10) PRIMARY KEY
    )
    ;
    
    CREATE TABLE sv_req_info 
    (
      "server_no"      NUMBER NOT NULL PRIMARY KEY,
      "host_ name"     VARCHAR2(100),
      "cur_ status"    VARCHAR2(100),
      "loc "           VARCHAR2(100),
      "buss_roles"     VARCHAR2(100),
      "rack no"        VARCHAR2(100),
      "rk U consump"   VARCHAR2(100),
      "Rmarks_owner"   VARCHAR2(100),
      "ip_adrs"        VARCHAR2(100),
      "sv_type_cat"    VARCHAR2(100),
      date_added       DATE,
      CONSTRAINT fk_sv_hardware FOREIGN KEY ("ip_adrs") REFERENCES sv_hardware (ip_adrs)
    )
    ;
    

    Above works, seems like problem with quoting of “ip_adrs” to me.

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

Sidebar

Related Questions

I have a database table named Categories . I want to create a form
I have a database named Tamaris, which contains a table User. I created a
I have Created a table like CREATE TABLE [dbo].[tab1]( [Id] [int] NOT NULL, [Name]
I have two tables as following table one named tbooking having column fields as
In most of my databases that I have created I've always named my column
Basically, I have a table called document which contains a column named as host.
I have created a Table Layout named table and I am trying to add
I have table (named tasks ) with column created_at that, basically, contains UNIX time-stamp.
I have a table named Samples in my DB,and it has a column named
i have created a table named Ord in SQlite and the schema is :

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.