You have field ‘Sex’ of type Byte Number. How to limit its value to 0 and 1 only?

Question: You have field ‘Sex’ of type Byte Number. How to limit its value to 0 and 1 only?

1.By setting required to ‘Yes’

2.By using default value

3.By defining validation rule

4. By using forma


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!