Skip to Content
Menu
This question has been flagged
1 Atsakyti
6904 Rodiniai

Friends,

How to edit the "next number" field in a sequence from,

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

Portretas
Atmesti
Autorius

No 1 Know It

Everyone know that

Autorius

Shut up u Juan

Best Answer

I don't know if it the official solution but you can try this:

  1. Access database with something like psql or pgadmin3
  2. Find the sequence you want to reset
  3. enter query "ALTER SEQUENCE $yoursequence RESTART"

Now it should be reset to 1.

 

More information:

http://www.postgresql.org/docs/9.1/static/sql-altersequence.html

Portretas
Atmesti
Autorius

thanks

If this helped you, please mark the answer as correct.

Related Posts Replies Rodiniai Veikla
0
vas. 23
5086
0
saus. 23
94
1
spal. 22
4344
0
bal. 22
2888
2
kov. 25
2966