Re: using contraints on Mysql

2007-02-26 Thread Martijn Tonies
Hi, 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 MySQL doesn't support declarative CHECK CONSTRAINTs, you could use triggers as a workaround. Martijn Tonies Database Workbench - development tool for

using contraints on Mysql

2007-02-25 Thread Raúl Andrés Duque Murillo
Hi. 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 Thanks, RAUL DUQUE Bogotá, Colombia - Do You Yahoo!? La mejor conexión a Internet y 2GB

Re: using contraints on Mysql

2007-02-25 Thread Dan Nelson
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