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

What is for xml in sql server?

0 Answers  


What are the different index configurations a table can have?

0 Answers  


Rate yourself in .NET and SQL ?

1 Answers   Cognizant, HCL, SunGard,


What is the Disadvantage of indexed sequential file.

0 Answers   HCL,


What is sql server management studio? : sql server management studio

0 Answers  






What is the default schema of your login session in ms sql server?

0 Answers  


How to throw custom exception in Stored Procedure?

0 Answers   MCN Solutions,


How to insert a new row into a table with "insert into" statements in ms sql server?

0 Answers  


What is the need for indexing?

0 Answers  


What is the maximum size of column in sql server?

0 Answers  


What is sql server profiler?

0 Answers  


Tell me the use of keyword with encryption. Create a store procedure with encryption?

0 Answers  


Categories