Forum

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

What are SQL constraints?

2 Posts
1 Users
0 Reactions
849 Views
Posts: 12
Topic starter
(@kumar BI)
Joined: 6 years ago

SQL Constraints


Topic Tags
1 Reply
Posts: 46
(@Ram DBA)
Joined: 6 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: