1

I had a table with columns serial i want to keep this column as auto-increment from value 1001...

TABLEA

SERIAL NO   | EMPID |   EMPNAME   |    SAL
============================================

1001            1        XXXX         1000

1002            2        YYYY         2000
Senthil
  • 1,244
  • 10
  • 25

1 Answers1

0

According to this you can achieve this by issuing:

ALTER SEQUENCE TABLEA_serial_seq RESTART WITH 1001;
Community
  • 1
  • 1
David Jashi
  • 4,490
  • 1
  • 21
  • 26