dugasz1 Posted August 22, 2013 Posted August 22, 2013 Hello! how can i make a column to auto incret like in mysql?
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?
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
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