Thank you for your reply's.
I tested some more with your informations. I think
SELECT 'THIS WORK'
, CONVERT(timestamp,2147483647)
, CONVERT(Bigint,CONVERT(timestamp,2147483647))
, 2147483647
UNION
SELECT 'DON''T WORK'
, CONVERT(timestamp,2147483648)
, CONVERT(Bigint,CONVERT(timestamp,2147483648))
, 2147483648
UNION
SELECT 'Work also with gt 2^21-1 ; -)'
, CONVERT(timestamp,CONVERT(bigint,2147483648))
, CONVERT(Bigint,CONVERT(timestamp,CONVERT(bigint,2147483648)))
, 2147483648
order by 4
should work for me.
I kow this will either no work at the 2^63-1 Mark.