adspace


What is a constraint?

Answer Posted / Manoj Singh

A constraint in SQL and PL/SQL is a rule that is used to enforce integrity of data in a database. It ensures the validity of data by enforcing rules such as uniqueness, referential integrity, null values etc. Some common types of constraints include PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK, and NOT NULL.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does group by remove duplicates?

1120


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

1125


what is sql server agent? : Sql dba

1188


What is the current version of postgresql?

1188


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

1252


how many tables will create when we create table, what are they? : Sql dba

1154


What is your daily office routine?

2351


Can delete statement be rollbacked?

1065


what is collation? : Sql dba

1242


Is primary key clustered index?

1026


what are the advantages of sql ? : Sql dba

1154


what are all the common sql function? : Sql dba

1141


Is primary key always clustered index?

1101


Can we rollback truncate?

1083


Can we use distinct and group by together?

1146