Hi,

How use CHECK constraint in a CREATE TABLE declaration ??
The language used is MySQL
Indeed, i try many attempt but no success... Somebody could help me ??

I try to do that :

create table Picsou (
        name varchar(5)
        check (name=='fifi' or name=='riri' or name=='loulou')
)
;

But ERROR !!

Maybe there are some website to explain but i haven't found.

Help me at : [EMAIL PROTECTED]

Thank you very much

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to