View Single Post

   
  #3 (permalink)  
Old 02-28-2008, 05:52 AM
Martijn Tonies
 
Posts: n/a
Default Re: using contraints on Mysql

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 MySQL, and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com

Reply With Quote