MySQL Forums
Forum List  »  Oracle

Problems with ALTER TABLE
Posted by: pak attack
Date: March 21, 2006 11:51AM

Hi! I have a problem with an instruction type. Oracle use:

ALTER TABLE <NAME_OF_TABLE> ADD CONSTRAINT <CONSTRAINT_NAME> CHECK ...

I red that MySQL 4.1 is not capable of make that instruction (CHECK).
When I try to make the instruction the program says: "QUERRY OK!"
But later, when I try to insert the data, the program does not respect the restriction required. My question is:
1) Exist any older version of MySQL that support the "CHECK"?
If that is the case, I would like to know the version and if these version support replication and connector/J.

2)What other alternative I can use instead of CHECK? Can I use TRIGGERS?

Thanks for the attention. These can help me to make a good project to complete my career.

Options: ReplyQuote


Subject
Views
Written By
Posted
Problems with ALTER TABLE
3355
March 21, 2006 11:51AM
2102
March 21, 2006 11:56AM
2490
March 21, 2006 12:29PM
2120
March 21, 2006 12:55PM
2065
March 21, 2006 01:07PM
1980
March 21, 2006 01:15PM
1978
March 21, 2006 01:28PM


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.