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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration

548


What is the difference between having clause and where clause in sql server?

569


Does partitioning improve performance?

486


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

577


What is the difference between an index and a unique index?

544






What is the difference between osql and query analyzer?

541


What is update locks?

509


What does it mean to invest in the index?

505


How many types of the database links?

600


What is difference between unique and primary key?

477


How to select an exiting database using mssql_select_db()?

507


How to move database physical files in ms sql server?

527


Do you know what are the reporting services components?

525


What is the use of partition by in sql server?

507


Define Unique Key?

592