adspace


what is a constraint? Tell me about its various levels. : Sql dba

Answer Posted / Anup Kumar Dwivedi

A constraint in SQL is a rule that ensures the integrity of data in a database. There are several types of constraints, including primary key, foreign key, unique, check, and default constraints. Primary and foreign keys ensure referential integrity, while unique and check constraints enforce specific conditions on columns.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use distinct and group by together?

1133


what is dbms? : Sql dba

1061


What is the best sql course?

1050


what are the advantages of sql ? : Sql dba

1144


what is schema? : Sql dba

1151


what are aggregate and scalar functions? : Sql dba

1129


what is sql server agent? : Sql dba

1182


What is the current version of postgresql?

1179


how to use regular expression in pattern match conditions? : Sql dba

1113


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2092


How do I remove duplicates in two columns?

1188


If a cursor is open, how can we find in a pl/sql block?

1239


what is collation? : Sql dba

1229


Is inner join faster than left join?

1278


What is the current version of sql?

1094