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

Explain an automatic checkpoint

647


What is the native system stored procedure to execute a command against all databases?

623


Can we use pragma autonomous_transaction in trigger?

631


What are the types of processing and explain each? : sql server analysis services, ssas

809


What is the Disadvantage of indexed sequential file.

705






What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

699


how you can get the list of largest tables in a database? : Sql server administration

636


How to create a ddl trigger using "create trigger" statements?

709


Define left outer join in sql server joins?

640


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

602


What is dimension table? : sql server analysis services, ssas

650


What are the differences between web role and worker role?

108


Explain what is it unwise to create wide clustered index keys?

611


Explain candidate key, alternate key, and composite key?

667


How to list all user defined functions in the current database?

590