I am asked to to add a constraint for an attribute in the table so that the value of the attribute should be a float number between 0 and 1. As far as I know, float(a,b) is not here for the task….. So is there an easier way other than writing a trigger for this problem in Oracle?
Share
yes use a check constraint.
you can name the check constraint if you want: