1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-23 02:52:23 +01:00

Add content for constraints (#3059)

* Update 103-constraints.md

* Update content/roadmaps/116-aspnet-core/content/102-database-fundamentals/103-constraints.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Abhilash Panicker 2022-12-06 14:26:12 +05:30 committed by GitHub
parent 3f97475a2b
commit db911ebfee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,5 @@
# Constraints
# Constraints
Database constraints are rules that are used to limit the data that can be stored in a database table. These constraints can be used to ensure the integrity and accuracy of the data in the table, and they can be used to enforce business rules or other requirements. For example, a constraint might be used to ensure that a column only contains positive numbers, or to ensure that a column always has a unique value. Constraints can be specified at the time a table is created, or they can be added to an existing table. Some common types of constraints include primary keys, foreign keys, and NOT NULL constraints.
<BadgeLink colorScheme='blue' badgeText='Read' href='https://www.w3schools.com/sql/sql_constraints.asp'>SQL Constraints</BadgeLink>