How to create a database sequence that will be reset everyday? That is a sequence that will get one the first time of each day? It sounds easy but it's not that much.
This article will focus on PostgreSQL since it's the database I use. A similar solution may …