Bonjour,

Voilà :
Select dbo.DecryptConstante(0x000040D871BEB851EB850000)
Résultat : 25031

Salutations.