Forum

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

What are SQL constraints?


Posts: 12
Guest
Topic starter
(@kumar BI)
Active Member
Joined: 4 years ago

SQL Constraints

Topic Tags
1 Reply
Posts: 47
Guest
(@Ram DBA)
Eminent Member
Joined: 4 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

Self Learning Video Tutorials - Software Course

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: