Hi ,
I need a quick help in understanding the different methods while creating the table and restricting data with in it.
here is the example:
create multiset table abc.xyz
(username varchar(30),
col1 char(3),
col2 char(3)
)
primary index(username);
I want to restrict col1 data as either yes or no while data is inserting into the table itself, it should through error if i insert neither yes nor NO.
↧