Ralf Junker <[EMAIL PROTECTED]> wrote:
> 
> 3. If the division of INTEGERs can not be stored as an INTEGER 
>(i.e. if a % b != 0), the result should be returned as a REAL.
> 

create table t1( a integer, b integer);
insert into t1 values(5,2);
update t1 set a=a/b;

If your rule above was in force, this would leave
T1.A holding 2.5, which is incompatible with the 
way other database engines work.
--
D. Richard Hipp <[EMAIL PROTECTED]>

Reply via email to