In this post, I am sharing a script to find orphaned Sequence objects which not owned by any column of PostgreSQL Database. When we define a column using SERIAL or BIGSERIAL, PostgreSQL internally creates one sequence for it and associate with it. In RDBMS, A Sequence is an independent object, and you can use same […]