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 / guest

hint:using row level and statement level trigger

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does sql view stored data?

731


What is bulk compiling in pl/sql.?

816


What are the two characteristics of a primary key?

686


How do I add a primary key to a table?

754


How do you create a db file?

718


How to load data with sql*loader?

759


What are the types of operators available in sql?

780


How to rename a table?

779


What is union?

826


what is a record in a database ? : Sql dba

778


Does sql*plus have a pl/sql engine?

767


Which function is used to return remainder in a division operator in sql?

799


What is crud diagram?

687


Define a temp table?

770


what is the use of double ampersand (&&) in sql queries?

841