April 17, 2010 at 11:16 am
Comments posted to this topic are about the item Understanding and Using APPLY (Part 2)
April 18, 2010 at 3:36 am
I would like to express my sincere thanks to the following people, for their help in producing this article:
Amanda Lawrence
Paul
April 19, 2010 at 4:27 am
Excellent and with enough extra material to make it interesting for those already familiar with apply!
April 19, 2010 at 4:43 am
Very interesting. I alrady use cross apply (mostly with table-valued functions) and I use a lot of xqueries. I like the last t-sql code about xquery. I was not using aliases and also navigating with rowset and the apply functions. Good tip!
Clement
April 19, 2010 at 6:19 am
Thank you once again, Paul. I'll be experimenting today.
I just noticed something that I think is in error:
The first CROSS JOIN example under your "Equivalent Expressions Using APPLY and JOIN" header performs "ORDER BY S.name ASC, S.name ASC". Is that supposed to be "S.name ASC, J.name ASC"?
Regards,
Mike M
April 19, 2010 at 6:19 am
Thanks for this article. There's a lot to consider here.
In the CROSS JOIN section, the query
[font="Courier New"]SELECT S.name, J.name
FROM dbo.Student S
CROSS
JOIN dbo.Subject J
ORDER BY S.name ASC, S.name ASC;
[/font]
should read
[font="Courier New"]SELECT S.name, J.name
FROM dbo.Student S
CROSS
JOIN dbo.Subject J
ORDER BY S.name ASC, J.name ASC;[/font]
should it not?
April 19, 2010 at 7:21 am
A thorough and well explained article. The supplemental file was a real bonus. Thanks.
April 19, 2010 at 8:31 am
Paul - another excellent article on using APPLY. Thank you so much for doing this... now I need to find the time to disect these two articles, and get a good understanding of them.
Again, thanks for doing these.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 19, 2010 at 9:00 am
Very well written article. Thanks Paul.
---------------------------------------------------------------------
Use Full Links:
KB Article from Microsoft on how to ask a question on a Forum
April 19, 2010 at 9:37 am
April 19, 2010 at 9:40 am
This is an excellent follow up to the first article. In the example for displaying a comma separated values list of all the test scores for each student, could you have also used the coalesce function to prevent the first comma in the output?
April 19, 2010 at 10:46 am
Paul White NZ (4/18/2010)
I would like to express my sincere thanks to the following people, for their help in producing this article:Amanda Lawrence
Paul
You're welcome.
It is a good article - and it was a pleasure to help.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
April 19, 2010 at 11:38 am
Excellent job, Paul. It helped me learn a few things about a command I rarely use.
April 19, 2010 at 3:49 pm
Great article series, Paul!
It was a pleasure being selected to get a preview and to give some thoughts/comments.
Let's see how long it takes until I have referenced those two articles more often then I did Jeffs CrossTab/DynamicCrossTab 😀
April 19, 2010 at 3:52 pm
Paul, Wow, thanks for these two articles they really helped me understand better use of APPLY. Now if I can just remember all of that I think I will use it a lot more.
Thanks again!
Viewing 15 posts - 1 through 15 (of 51 total)
You must be logged in to reply to this topic. Login to reply