adspace


what are constraints? Explain different types of constraints? : Sql server database administration

Answer Posted / Neeraj Chaudhary

Constraints in SQL Server are rules that are defined to enforce data integrity. Different types of constraints include: CHECK CONSTRAINTS - enforce user-defined conditions, UNIQUE CONSTRAINTS - ensure uniqueness of a column or group of columns, PRIMARY KEY CONSTRAINTS - define the primary key for a table, FOREIGN KEY CONSTRAINTS - establish relationships between tables and ensure referential integrity.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different subsets of sql?

1652


What is temporary table in sql server? Why we use temp table?

1021


How raid can influence database performance?

1117


How do I create a trace in sql server?

1120


what is the difference between openrowset and openquery?

1194


How to convert numeric expression data types using the cast() function?

1149


What are the different SQL Server Versions you have worked on?

1079


What are the properties of the transaction?

1073


Why we use the openxml clause?

1079


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

2295


What kind of problems occurs if we do not implement proper locking strategy?

1499


What is a scheduled job or what is a scheduled task?

1039


What is the primary use of the model database?

1149


How do I start sql server 2017?

1015


What is sql server query analyzer?

1128