What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 50138 |  Welcome, Guest!   Register  Login
 Home > Forums > Sql Server > What the use of cross join .when we use it ...
Sekar.C

What the use of cross join .when we use it

Replies: 5 | Posted by: Sekar.C on 5/24/2012 | Category: Sql Server Forums | Views: 476 | Status: [Member] | Points: 10  


Hi,
What the use of cross join .when we use it

Regards
Sekar.c


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Pavan_Kumar
Pavan_Kumar  
Posted on: 5/24/2012 10:51:44 AM
Level: Starter | Status: [Member] | Points: 25


Hi Sekar,
Please go through the below link.
http://weblogs.sqlteam.com/jeffs/archive/2005/09/12/7755.aspx

I hope it helps.

With best rgds,
Pavan

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Sriramnandha
Sriramnandha  
Posted on: 5/25/2012 11:49:12 AM
Level: Starter | Status: [Member] | Points: 25

HI SEKAR,

CROSS JOIN IS AN CARTESION PRODUCT ,ITS MATRIX FORMAT (EX : 3 * 3 ,4 * 4)

SAME RECORDS TO DISPLAY MULTIPLE TIMES TO APPLY CROSS JOIN..

SELECT * FROM TABLE1 CROSS JOIN TABLE

CROSS JOIN CANNOT USE WHERE CONDITION...

REGARDS

sriram

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/15/2012 12:38:58 AM
Level: Bronze | Status: [Member] | Points: 25

Cross join is a Cartesian join that does not necessitate any condition to join. The resultset contains records that are multiplication of record number from both the tables.

SELECT * FROM Employee CROSS JOIN Department

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/15/2012 12:40:01 AM
Level: Bronze | Status: [Member] | Points: 25

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/15/2012 12:40:43 AM
Level: Bronze | Status: [Member] | Points: 25

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 6:13:22 AM