Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Can we restrict the Values of the Field while creating table it self? - topic by tdradha

$
0
0
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.  

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>