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:
parent
3f97475a2b
commit
db911ebfee
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user