Emtucifor
50 pts. | Jul 8 2009 7:03PM GMT
Please post the query you are using. If CROSS APPLY is using a function, please post the function declaration.
It would also probably be useful to have the DDL for the tables involved, and possibly the indexes, too. Right-click on the table and script to the clipboard.
CROSS APPLY can solve some problems that would be very difficult to solve other ways, but it is often not the best answer. In some cases, it IS the best answer (I’ve used it with a linked server query in a way that resulted in hundreds of times performance improvement).
Emtucifor
50 pts. | Jul 8 2009 7:06PM GMT
Clearly I didn’t know how to use this site. Please ignore my discussion comment I posted.






