Sign in
Log inSign up

How to reset sequence number every year in postgres sql?

ANILKUMAR SANDRAPATI's photo
ANILKUMAR SANDRAPATI
·Oct 30, 2017

creating sequence for every table. Need to reset sequence number yearly. Like every jan 1st sequence should reset to 1. thanks in advance