MySQL Forums
Forum List  »  MySQL Query Browser

Can't create table
Posted by: Soad Hamdy
Date: August 16, 2011 01:20AM

I need to know whats wrong with this:

CREATE TABLE Activity (
activity_id SERIAL,
descr VARCHAR(100),
account INTEGER,
cid INTEGER,
date DATE,
rem_bal REAL,
amount NUMERIC,
PRIMARY KEY(activity_id),
FOREIGN KEY(account) REFERENCES Account(account),
FOREIGN KEY(cid) REFERENCES Customer(cid)
);

when i execute this query an error displayed "can't create table"

Options: ReplyQuote


Subject
Written By
Posted
Can't create table
August 16, 2011 01:20AM
August 18, 2011 07:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.