In the last episode (Feb 25), Raúl Andrés Duque Murillo said:
>   I'm looking for using FIELD CONSTRAINTS on Mysql but I can't find
>   it ... Doesn't Mysql implement it??
>    
>   For example:
>   age int > 0

You can do those checks with triggers:

http://dev.mysql.com/doc/refman/5.0/en/triggers.html

  # If a BEFORE trigger fails, the operation on the corresponding row
    is not performed.

-- 
        Dan Nelson
        [EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to