Skip to content

Instantly share code, notes, and snippets.

@xivSolutions
Last active August 29, 2015 13:57
Show Gist options
  • Save xivSolutions/9542109 to your computer and use it in GitHub Desktop.
Save xivSolutions/9542109 to your computer and use it in GitHub Desktop.
PG Get Serial Sequence - determine if PG table column has an associated sequence
select COUNT(pg_get_serial_sequence('"clientdocuments"', 'ClientDocumentId')) As CountAuto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment