تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6809 أدوات العرض

Friends,

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

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

الصورة الرمزية
إهمال
الكاتب

No 1 Know It

Everyone know that

الكاتب

Shut up u Juan

أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

thanks

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 23
4908
0
يناير 23
94
1
أكتوبر 22
4245
0
أبريل 22
2789
2
مارس 25
2834