Jump to content

MySQL Check Constraint


Recommended Posts

Hey guys,

For everyone that knows his way around databases please helpme here.

We get mainly oracle at college and in oracle the check constraints on rows work perfect.

However now I tried to write it for mysql like this example:

http://www.w3schools.com/sql/sql_check.asp

But I can insert values that are outside of the constraint. Using engine InnoDB.

Hope someone can help me fixing this.

Link to comment
Share on other sites

I may be able to help... I use SQL every now and then, i'm a Server Admin.

Would it be ok for you to post your code here, that would rule out a lot of questions?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Who's Online   1 Member, 0 Anonymous, 1397 Guests (See full list)

×
×
  • Create New...