As an add on: it looks like this is interpreted correctly.

fffffffffff0000
1152921504606781440

select to_hex((val&1152921504606781440)) from x;
to_hex((val&1152921504606781440))
0x92bbd420000
0x990000

Could this be related to the sign bit, causing 
0xffffffffffff0000 not to be a valid number? 

Thanks,
Ken



Reply via email to