MySQL Forums
Forum List  »  MySQL Workbench

Column Constrants
Posted by: Pete Watters
Date: September 21, 2017 11:43AM

I need to understand how to add constrants to a column

Like

A table is a child and when a recoreded is inserted into the table there is an entry in the parent table

A columm value is in a list like (CA,NY,NV)

A column value is in a specifc range

I googled the question and all the answers I could find said we need to set up triggers, is this the only way to do it

thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Column Constrants
74
September 21, 2017 11:43AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.