P
P
postya2020-07-20 15:54:52
SQLite
postya, 2020-07-20 15:54:52

How to quickly populate a Sqlite table with an Id field?

There is a table in the Sqlite DB

in the 'id' field on all records is 0:

5f15937646d94479185323.jpeg

I need to put numbers on each record in the id field in order, by type like this:

5f1593af12d21751723927.jpeg

I have to manually enter IDs in each record

Is there any command in sqlite , which can do this automatically, that is, so that the numbers in order are recorded automatically by themselves?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-07-20
@Alexandre888

https://www.sqlservertutorial.net/sql-server-windo...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question