Connecting Tech Pros Worldwide Forums | Help | Site Map

Difference between Full Join and Inner Join in SQl Server 2005

Newbie
 
Join Date: Feb 2007
Posts: 7
#1: Apr 4 '07
What is the main difference between Full Join and Inner Join in SQl Server 2005 ?
As inner join retrive all records that match certain condition, similiary in full join will rreturn all records only where they match.
Also sugest me which one is optimal in Inner Join and Where clause.

msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#2: Apr 4 '07

re: Difference between Full Join and Inner Join in SQl Server 2005


This question is being moved to the SQL Server forum.

ADMIN
iburyak's Avatar
Expert
 
Join Date: Nov 2006
Posts: 1,017
#3: Apr 4 '07

re: Difference between Full Join and Inner Join in SQl Server 2005


Inner Join returns matching records only

A full outer join returns all rows in both the left and right tables


Hope it is clear enough.
Newbie
 
Join Date: Jul 2008
Posts: 1
#4: Jul 21 '08

re: Difference between Full Join and Inner Join in SQl Server 2005


thank u, the answer given by u helps me
Reply