Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can an Integrity Constraint be enforced on a table if some
existing table data does not satisfy the constraint ?

Answer Posted / sandeep desai

No.
Eg:-
Consider Table emp
Assume there are only 5 records in emp
and in emp_sal column values are (1200,1400,4500,2000).
Now if I try to create a check constraint on emp_sal column
for the range between 2000 and 4000 then an error is thrown
since values below this range also exist in emp_sal column.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle analytical function?

1159


What is bulk load in oracle?

1080


How to pass a parameter to a cursor in oracle?

1192


How many file formats are supported to export data?

1226


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1928


Can we protect our pl/sql source code?

1052


What happens to the current transaction if the session is killed?

999


How to see the table columns used in an index?

1033


What is memory advisor in Oracle?

1084


Can we connect to ORACLE db using Windows Authentication?

1267


How to loop through a cursor variable?

1094


What are the roles of dba?

1075


How to shutdown your 10g xe server?

1155


Compare and contrast between sql and sql server and explain its various functions?

976


Explain what are the uses of rollback segment?

1022