Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Cross Apply

Author  Topic 

aprichard
Yak Posting Veteran

62 Posts

Posted - 2008-05-22 : 09:28:48
What is Cross Apply, when it will be used ?

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-05-22 : 09:31:49
it's a new language construct to use with UDF's.
by using it you can pass other tables column names as parameters

_______________________________________________
Causing trouble since 1980
Blog: http://weblogs.sqlteam.com/mladenp
Speed up SSMS development: www.ssmstoolspack.com <- version 1.0 out!
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-05-22 : 09:32:38
CROSS APPLY can be used much like same way as INNER JOIN.
See http://weblogs.sqlteam.com/jeffs/archive/2007/10/18/sql-server-cross-apply.aspx



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -