RANK variable in DB

Hello,

I would like to know if there is any node that allow me the create a rang variable in a DB and not in local.

Thanks in advance