dugasz1 Posted August 22, 2013 Posted August 22, 2013 Hello! how can i make a column to auto incret like in mysql? Sorry for lot of questions and thanks for the answers!
golanu21 Posted August 22, 2013 Posted August 22, 2013 ID int NOT NULL AUTO_INCREMENT [Dev]BloWnRPG - We BloW the World [1%]
dugasz1 Posted August 22, 2013 Author Posted August 22, 2013 Thank you:) Can you write me an example what is set id to primary and AI? Sorry for lot of questions and thanks for the answers!
golanu21 Posted August 22, 2013 Posted August 22, 2013 function createVehicleDB() executeSQLCreateTable("Vehicles", "CarID INT AUTO_INCREMENT PRIMARY KEY, ModelID INT") end addEventHandler("onResourceStart", getRootElement(), createVehicleDB) this is an example [Dev]BloWnRPG - We BloW the World [1%]
dugasz1 Posted September 21, 2013 Author Posted September 21, 2013 Thank you Sorry for lot of questions and thanks for the answers!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now