Hi All, I was reading one of the Article from Kalen Delaney and i came accross the following queries. I would like to know the basic difference between them and does they have any performance gain over each other..Declare @Tbl1 Table ( i Int, j varchar(100))Declare @Tbl2 Table ( i int)Insert @Tbl1 Select 1,'A' Union All Select 2,'B' Union All Select 3,'C' Union All Select 4,'D' Insert @Tbl2 Select 1 Union All Select 4Select a.i,b.j From @Tbl2 a Inner Loop Join @Tbl1 b On a.i = b.iSelect a.i,b.j From @Tbl2 a Inner Hash Join @Tbl1 b On a.i = b.iSelect a.i,b.j From @Tbl2 a Inner Join @Tbl1 b On a.i = b.i
Chirag