what is the main difference between constraints(like
primary key etc..)& joins?

Answers were Sorted based on User's Feedback



what is the main difference between constraints(like primary key etc..)& joins?..

Answer / ravikiran

Constraints are the mechanisms used by the sql server to
control unwanted or invalid data flow into a table.

Joins are the queries used to combine the rows from two or
more tables.

Is This Answer Correct ?    2 Yes 0 No

what is the main difference between constraints(like primary key etc..)& joins?..

Answer / monal

Constraints are restrictions to make sure that data entered
in a table must meet certain crietria. You can put
constraint at either table level or column level. There are
5 types of constraints. Primary Key, Foregin Key, Unique,
Check and NOT NULL.

Joins are used to combine rows from one or more table. One
table using Self Join and More tables using inner join,
outer join, cross join.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More SQL Server Interview Questions

Rate yourself in .NET and SQL ?

1 Answers   Cognizant, HCL, SunGard,


what's the difference between a primary key and a unique key? : Sql server database administration

0 Answers  


What the different components of Replication and what is their use?

0 Answers  


Define tool Manage Statistics in SQL Server 2000 query ?

0 Answers   NA,


Which is the latest version of sql server and when it is released?

0 Answers  






What is the Difference beween sql server 2005 and sql server 2008

3 Answers   CMC, Hitech,


Difference between report and query parameter.

0 Answers  


What are the differences between left join and inner join in sql server?

0 Answers  


How to get the count of distinct records. Please give me the query?

8 Answers   Value Labs,


Give the query of getting last two records from the table in SQL SERVER?

0 Answers   Petranics Solutions,


What is the difference between varchar and nvarchar?

0 Answers  


explain different levels of normalization? : Sql server database administration

0 Answers  


Categories