473,394 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ORA-00922:Missing or invalid option

2
I constantly am receiving this message when I run this script. Can anyone tell me what I am doing wrong?


CREATE TABLE Pathogen(s)
PathogenID VARCHAR(50),

Viral VARCHAR(50)CONSTRAINT ViralRequired NOT NULL,

Bacterial VARCHAR(50)CONSTRAINTBacterialRequired NOT NULL,

Fungal VARCHAR(50)CONSTRAINTFungalRequired NOT NULL,

CONSTRAINT PKPathogen(s) PRIMARY KEY (PathogenID))
Jul 11 '10 #1
3 2932
debasisdas
8,127 Expert 4TB
You can't have special characters (except a few) but not the one you are trying as part of table or column name.
Jul 12 '10 #2
amitpatel66
2,367 Expert 2GB
Change the table name from Pathogen(s) to Pathogen then try creating a table.

Table of any name can be created by using a double quotes but its not at all advisable to do so.

If your business requirement strictly requires table name to be Pathogen(s) then try creating a table by enclosing Pathogen(s) in double quotes like "Pathogen(s)".

Also note if you create a table by using a double quote then the object name becomes case sensitive and you will have to use double quotes everytime you select/perform DML's on that particular table.
Jul 12 '10 #3
TiaTia
2
@amitpatel66
Thank you very much for your suggestion and it worked.
Jul 12 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Dennis M. Marks | last post by:
Please look at page http://www.dcs-chico.com/~denmarks/amtrak.html I am trying to change the color of the first dropdown menu but everything that I have tried has no effect. If I put the style...
6
by: George Hester | last post by:
Try it. Using Microsoft Internet Explorer 5.5 SP2 (that's the version I am using) in Windows 2000 SP3: In a html put this in: <select type="select-one" id="oSel1"> <option value="1"...
9
by: Gianni | last post by:
I have to insert in a html select the last 10 years <select name="year" onChange="month()" size=5> <option value="1994">1994</option> <option value="1995">1995</option> <option...
6
by: Yew12 | last post by:
Hi, Does anyone know why I get this error when I run this script. Create table ROOM (ROOM_ID number(4), PROPERTY_ID number(4) Not Null, ROOM_TYPE char(15) Not Null, HEATING char(3)...
6
by: jasmel | last post by:
Hello, Sorta new with JavaScript... so don't kill me with jargon. I am trying to make a script that will only allow text to be inputted into a textarea that is from a drop down menu. My problem...
5
by: Shree | last post by:
Anybody with similar experience? Thx U Shree.
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
2
by: cdphp | last post by:
hi im using textpad to do the code, phpmyadmin for the database. im currently doing a page where a user can rate the place they have been to in london however i cant get it working. im a beginner...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.