Skip to Content
Jul 21, 2011 at 04:35 AM

Intervals in Domain - Problem when INT2


Hi Experts!!

I have created two domains ZTEST_INT2 and ZTEST_NUMC with mentioned types. For both I have mentioned the intervals as 0 to 10 and one more as 15 to 20.

Now, when I place these in a table and try, ZTEST_NUMC is working fine with not allowing the values out of the range. But ZTEST_INT2 is taking any value given. As per my knowledge, INT2 is a 2-byte integer which takes values between -32767 and 32767. But when I mention the range, why is not considering it?

Can somebody temme why it's happening so? Thanks a lot.