I have to make a table that can have a maximum of 1000 rows. How do I implement this?
What other constraints should I add in the create table query?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is for MySql
As you can see, you have the MAX_ROWS option; just set it to 1000 and things should work fine.
Also check out the manual: http://dev.mysql.com/doc/refman/5.0/en/create-table.html