TheRock254 Posted April 30, 2016 Posted April 30, 2016 dbExec(database, "ALTER TABLE table_name ADD columd_name DATATYPE") I use this code for create new column but if column is exists, it's give warning. How can i get is the column exists?
Anubhav Posted April 30, 2016 Posted April 30, 2016 "ALTER TABLE table_name ADD IF NOT EXISTS columd_name DATATYPE" i guess this See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
roaddog Posted April 30, 2016 Posted April 30, 2016 Try JR10 method here https://forum.multitheftauto.com/viewtopic.php?f ... le#p774790 You gone learn today. I work my ass off, but I still can't pay tho.
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