ttmind

Main Navigation

ttmind
  • jim-jams
  • Tech
  • Positive
Login

Login

Facebook Google

OR

Remember me Forgot password?

Don't have account? Signup here.

Sort by Categorys

.Net

PHP

Java

JavaScript

Database

Server

Client Side

Tools

Artificial Intelligence

Cloud

Hybrid Development

Event

Smart City

Education

Security

Scrum

Digital Marketing

APP Development

Business

Internet

Simulation

Art

Network

Microservices

Architecture

Technology

Leadership

    Top Articles

  • How Does Social Media Bring People Together?
    TTMind Author
  • How to read appSettings JSON from Class Library in ASP.NET Core
    Anil Shrestha
  • Printing Support In Asp.Net Core
    TTMind Author
  • HOW TO EXTRACT TEXT FROM IMAGE USING JAVASCRIPT (OCR with Tesseract.js)?
    Prakash Pokhrel
  • Images Upload REST API using ASP.NET Core
    Prakash Pokhrel
  • Related Topic

  • Real life example of functional dependency, multivalued dependency, trivial functional dependency and non-trivial functional dependency.
  • MongoDb With Asp.Net Core Web API
  • DBMS and most popular DBMS Software in 2019
  • Creating .NET Core Console Application with NoSQL- MongoDB At Back-end
  • SQL Server 2019 performence improvement in Scaler User Defined Functions
  • Tech
  • About Us
  • Contact Us
  • TechHelp
  • PositiveHelp
  • Jim-Jams Help
  • Terms & Conditions

© Copyright ttmind.com

Main Content

Importance of database Constraints

Database SQL Language about 7 years ago || 3/27/2019 || 10.5 K View

  • Hide

 

  • A constraint can be defined as the property assigned to a column or the set of columns in the database table which prevents inconsistent data values to be stored into the certain columns.
  • Constraints are used to ensure the data integrity. This enforce the reliability and accuracy of the data stored in the database.
  • In Relational Database Model, There are some Integrity Constraints which are used for accuracy and consistency of data in relational database.
  • Data integrity defines some data quality requirements that the data in the database needs to be met.
  • The Relational Database Management System will not allow, If a user tries to insert data that doesn’t meet these requirements.
 
Types of Constraints:
  • Entity Integrity constraint (Primary Key (PK) & Unique Key)
  • Referential Integrity constraint (Foreign Key (FK))
  • Domain Integrity constraint (NOT NULL, DEFAULT and CHECK Constraints)
 
Also Read:
  • Transact-SQL(T-SQL) : Difference from SQL and PL/SQL?
  • DBMS and most popular DBMS Software in 2019
  • AWS vs Azure vs GCP: Which one is best (2019) ?
  • 0
  • 0
  • 0
    • Facebook
    • Twitter
    • Google +
    • LinkedIn

About author

TTMind Author

TTMind Author

CEO, Consultant, Other

ASP.NET

Reset Your Password
Enter your email address that you used to register. We'll send you an email with your username and a link to reset your password.

Quick Survey