Hi All,
Is it possible to define a table column data type to accept only whole number when inserting and not decimal number.
123 - Should accept
456 - Should accept
23.4 - Should not accept
2.33 - Should not accept
1 - Should accept
If it is not possible which is the best way to achieve it ( either trigger or check constraint ). Any sample code would be helpful.
Thanks and Regards
JN