Question: When do you get constraint violation? What are the types of constraints?
Answer: Database returns an error message when a constraint is violated.Differnet type of constrains;1.Domain Constraints:A Domain constraint deals with one or more columns2.Entity Constraints3.Referential Integrity Constraints.4.Key Constraints 4.1.Primary Key Constraints4.2 Foreign Key Constraints 4.3 Unique key Constraints4.4 Check constraint4.5 Default constraint
Database returns an error message when a constraint is violated.Differnet type of constrains;1.Domain Constraints:A Domain constraint deals with one or more columns2.Entity Constraints3.Referential Integrity Constraints.4.Key Constraints 4.1.Primary Key Constraints4.2 Foreign Key Constraints 4.3 Unique key Constraints4.4 Check constraint4.5 Default constraint Source: CoolInterview.com
Rules to Post Answers in CoolInterview.com:- There should not be any Spelling Mistakes. There should not be any Gramatical Errors. Answers must not contain any bad words. Answers should not be the repeat of same answer, already approved. Answer should be complete in itself.
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.