Try recreating the table with auto_increment in the AutoNo field
Create table Blah (
AutoNo int unsigned auto_increment,
Blah type,
Primary key (AutoNo);
then when you insert the data from your old table into the new one and don't specify the value of the AutoNo field.
Example:
Insert...
I have, lets say two tables, one Course, and the other Student.
Table: Course
Attributes: CourseID
StudentID
Table: Student
Attributes: StudentID
Name
How do I prevent the student from being able to register for more than 10 classes. Can I specify this when I...
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.