Is there any way to limit the maximum number of rows when I create a table in Oracle?
相关问题
- NOT DISTINCT query in mySQL
- Can I skip certificate verification oracle utl_htt
- Flush single app django 1.9
- How to apply a function to all combinations of row
- how to calculate sum time with data type char in o
You could create a statement trigger "BEFORE INSERT" and check there the nubmer of rows.
However, this trigger does not work properly in a multi-user environment.
If the table has a numeric key, you could add a check constraint that states that the key does not exceed a specific value: