473,326 Members | 2,061 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,326 software developers and data experts.

missing paranthesis

20
Hi guys,
Could you plz check this code out and tell what the problem is.
Thanks in advance
CREATE TABLE RESERVATIONS (
RESERVATION_ID NUMBER(5),
RENTER NUMBER(6),
CAR_TYPE NUMBER(1),
START_DATE DATE DEFAULT SYSDATE,
FINISH_DATE DATE,
TO_PAY NUMBER(6),
CONSTRAINT RESERVATIONS_PK PRIMARY KEY(RESERVATION_ID),
COSNTRAINT RESERVATIONS_FK1 FOREIGN KEY(RENTER) REFERENCES CLIENTS(CLIENT_ID),
CONSTRAINT RESERVATIONS_FK2 FOREIGN KEY(CAR_TYPE) REFERENCES CATEGORIES(CATEG_ID));
********************
COSNTRAINT RESERVATIONS_FK1 FOREIGN KEY(RENTER) REFERENCES CLIENTS(CLIENT_ID),
*
ERROR at line 9:
ORA-00907: missing right parenthesis
Dec 18 '06 #1
1 2418
Hi,

while writing syntax please chek it your keyword spell.what mistake u made is COSNTRAINT instead of CONSTRAINT. Take care your self don't confuse This will happen for every one.
by duraisamy.
Dec 18 '06 #2

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

Similar topics

6
by: Pavel Vetesnik | last post by:
Hello, my question is probably quite stupid, but I really don't know how to solve it. I have code like this: =============================================== <button title="Osobní nastavení...
5
by: Steven T. Hatton | last post by:
If you happen to have Accelerated C++ by Koenig and Moo, and haven't gotten around to reading it, I suggest you count the pages between page 18 and page 51. I came up with zero. This is very...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
0
by: kris | last post by:
hi can any one help me out, i have written a code for Word Indexing using Dll's i think this is an incomplete code for WORD INDEX. I had encountered this error "Error! No index entries found"...
7
by: Zest4Csharp | last post by:
Can someone please show me where to find documentation about the use of paranthesis in the context shown in the sample line of code below:? Button bt=(Button)sender; Your help is truly...
17
by: Justin Emlay | last post by:
I'm hopping someone can help me out on a payroll project I need to implement. To start we are dealing with payroll periods. So we are dealing with an exact 10 days (Monday - Friday, 2 weeks). ...
4
by: vmoreau | last post by:
I have a text and I need to find a Word that are not enclosed in paranthesis. Can it be done with a regex? Is someone could help me? I am not familar with regex... Example looking for WORD:...
2
by: Troels Thomsen | last post by:
Hello, I am wondering if I can write some code, that allows me to call functions in the console , IDLE, without using the paranthesis notation. Like print. This will improve "intreractive'ness"...
4
by: adityajain | last post by:
Well ! I have a confusion.When we length of an array we just use a.length; but to find length of an string we use S.length();.Why paranthesis are not used in case of array,however to call any method...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.