Forum

What are SQL constr...
 
Share:
Notifications
Clear all

What are SQL constraints?


kumar BI
Posts: 12
 kumar BI
Topic starter
(@kumar BI)
Joined: 2 years ago

SQL Constraints

Topic Tags
1 Reply
Ram DBA
Posts: 47
 Ram DBA
(@Ram DBA)
Joined: 2 years ago

SQL constraints are the set of rules that impose some restrictions while insertion, deletion, or updating of data in the databases.

In SQL we have both column level as well as table level constraints which are applied at columns and tables respectively. Some of the constraints in SQL are as follows. 

  • Primary Key
  • Foreign Key
  • Unique Key
  • Not NULL
  • DEFAULT
  • CHECK
  • Index
Reply



Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: