I am creating a Java program that is connected with a MySQL database. I want to create a table in MySQL that has a limitation for 10 inputs or for 10 insert to statement. Can someone help me with this problem?
Asked
Active
Viewed 349 times
-1
-
I've only tried the select from limit but it only shows the first 10 when I want it to insert up until 10 inputs only – Samantha Mar 29 '17 at 10:53
1 Answers
0
Try seeing this question: How can I set a maximum number of rows in MySQL table?
You should create a stored procedure to control that limit!

Community
- 1
- 1

Pedro Vivaldi
- 11
- 3