Top "Cross-apply" questions

The T-SQL APPLY operator allows you to invoke a table-valued function for each row returned by an outer table expression of a query.

when choose CROSS APPLY and when EXISTS?

I read, CROSS APPLY is just like JOIN.. and I think JOIN can be accomplished with EXISTS also (correlated sub …

sql sql-server join exists cross-apply
TSQL Cross Apply with Count and Sum

I've just discovered The CROSS APPLY operator and was under the impression it was very useful in manipulating derived columns …

tsql cross-apply
Extracting XML data in SQL - too many cross apply statements

I have an xml document containing details from a Statement: <Statement> <Id /> <Invoices> <…

sql xml singleton cross-apply