Forum

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

What are SQL constraints?

2 Posts
1 Users
0 Likes
319 Views
kumar BI
Posts: 12
 kumar BI
Guest
Topic starter
(@kumar BI)
Active Member
Joined: 2 years ago

SQL Constraints

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