T-SQL: Using CROSS APPLY to Turn 2 Queries Into 1
Jul.15, 2009 in
Business Intelligence, Geeky/Programming, SQLServerPedia Syndication
Parent/Child. Order/Line. Header/Detail. Report/Sub-Report. We have all ran across these database designs and have had to write queries off of them. You usually end up having the parent id, and you need to get the children. Or you have a list of parents and need to loop through them, looking up the children records and [...]
View Comments | 3,164 views
