MySQL table with fixed number of rows?

前端 未结 3 476
失恋的感觉
失恋的感觉 2020-12-22 08:58

I have table documents (id, name, time). Is there a special sql command to set table limit by 10 rows?

3条回答
  •  无人及你
    2020-12-22 09:08

    no you could not set a limit on the mysql table, you can achive this with trigger that delete rows.

提交回复
热议问题