-1

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?

Mad Physicist
  • 107,652
  • 25
  • 181
  • 264
Samantha
  • 1
  • 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 Answers1

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