Is there a way to SELECT all data from all columns, and exclude the entire primary key column? I have searched the documentation, but cannot find anything. Thanks
Well, I'm making a generic insert_row function for my web application, and I'm dynamically creating the fields to enter data, however, I don't want them to enter a value for the id field since's it is an auto-increment primary key.
i believe in mysql you can insert NULL into an auto_increment field and it will get the next number the same as if you had omitted it from the INSERT statement
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.