how do you restrict number of rows for a particular value
in a column.For example:there is a table called
fruits,having apples,bananas ,papayas.I dont want to have
more than 100 apples in that table ,so how can u restrict
number of rows for apple to hundred?
Answer Posted / gk
We can use Check constraint to restict the values of any
column.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
How many rows can sqlite handle?
how to analyze tables with 'mysqlcheck'? : Sql dba
Why stored procedures are faster than query?
What is dynamic query?
What does where 1 1 mean in sql?
Can we commit in trigger?
How do you delete a table?
What is meaning of <> in sql?
How do I start sql profiler?
how to rename an existing table in mysql? : Sql dba
How delete all records from table in sql?
What is difference between mysql and postgresql?
what happens if null values are involved in expressions? : Sql dba
What are the most important ddl statements in sql?
What are system versioned tables?