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

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct