I want to create a MySQL table with an auto-increment from the user application when the user is login.
but i don’t know how to set the auto increment from the user app.
When you create your table, set your field to AI, auto increment.
When a record is inserted in the table, this auto-increment field will have the value of the previous record + 1.
i cant create because it each user will have there own table with there own id, table will be create after user login
Use cCreate Table command :
i dont have idea about that
CREATE TABLE Users(
Id int NOT NULL AUTO_INCREMENT,
Name varchar(255) NOT NULL,
);
where should i use it… i dont have an extention
In initialize your screen, call this command in your Kodular blocks.
which block ??
is this extension usefull
Where you call SQL conmands.
i use deep host mysql extension but there is no auto increment block or option
Deephost not provide support so use method providing by Puravida
Do have any extension?
You are confused . Talks about MySQL, shows SQLite extension … To create auto-increment field, you need to execute SQL command. So you need a block that executes the SQL command. This extension is not commented on here in the community.
Use this method for run Mysql Queries
i download this extension just now
Or This
You are discussing about Mysql Or SQLite
Suggestion: Do a database study
SQ lite is extension for Mysql data base rit