D
D
Dadaetoya2020-09-15 13:33:14
PostgreSQL
Dadaetoya, 2020-09-15 13:33:14

How to make user id in users table start from 10000 when adding if there are already users with id 1,2,3,..?

How to make user id in users table start from 10000 when adding?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
roswell, 2020-09-15
@roswell

CREATE SEQUENCE sequence_name START WITH 10000;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question