From db911ebfee2b7f4dcb351f01d4dbfe6367590140 Mon Sep 17 00:00:00 2001 From: Abhilash Panicker Date: Tue, 6 Dec 2022 14:26:12 +0530 Subject: [PATCH] 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 --- .../content/102-database-fundamentals/103-constraints.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/116-aspnet-core/content/102-database-fundamentals/103-constraints.md b/content/roadmaps/116-aspnet-core/content/102-database-fundamentals/103-constraints.md index 857142d89..e0d141c59 100644 --- a/content/roadmaps/116-aspnet-core/content/102-database-fundamentals/103-constraints.md +++ b/content/roadmaps/116-aspnet-core/content/102-database-fundamentals/103-constraints.md @@ -1 +1,5 @@ -# Constraints \ No newline at end of file +# 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. + +SQL Constraints