Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Paul White
»
Understanding and Using APPLY (Part 2)
51 posts, Page 2 of 6
««
1
2
3
4
5
»
»»
Understanding and Using APPLY (Part 2)
Rate Topic
Display Mode
Topic Options
Author
Message
ckuroda
ckuroda
Posted Monday, April 19, 2010 9:40 AM
SSC Rookie
Group: General Forum Members
Last Login: Friday, November 02, 2012 7:00 AM
Points: 40,
Visits: 65
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?
Post #906097
SQLRNNR
SQLRNNR
Posted Monday, April 19, 2010 10:46 AM
SSCoach
Group: General Forum Members
Last Login: 2 days ago @ 1:07 PM
Points: 18,733,
Visits: 12,332
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
Jeff Moden MVP
Chris Morris
Lutz Müller
Jason Brimhall
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 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #906159
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, April 19, 2010 11:38 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 3:26 PM
Points: 31,425,
Visits: 13,738
Excellent job, Paul. It helped me learn a few things about a command I rarely use.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #906217
LutzM
LutzM
Posted Monday, April 19, 2010 3:49 PM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 3:17 PM
Points: 6,731,
Visits: 12,131
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
Lutz
A pessimist is an optimist with experience.
How to get fast answers to your question
How to post performance related questions
Links for
Tally Table
,
Cross Tabs
and
Dynamic Cross Tabs
,
Delimited Split Function
Post #906387
UMG Developer
UMG Developer
Posted Monday, April 19, 2010 3:52 PM
SSCrazy
Group: General Forum Members
Last Login: Monday, May 13, 2013 11:21 AM
Points: 2,163,
Visits: 2,148
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!
Post #906389
Paul White
Paul White
Posted Monday, April 19, 2010 5:24 PM
SSChampion
Group: General Forum Members
Last Login: Yesterday @ 7:18 PM
Points: 10,989,
Visits: 10,532
Mike and Green Clay:
Yes the ORDER BY in the CROSS JOIN example should be as you say - oddly it is only the image in the article that has this typo, the downloadable code is correct.
Paul
Paul White
SQL Server MVP
SQLblog.com
@SQL_Kiwi
Post #906410
RBarryYoung
RBarryYoung
Posted Monday, April 19, 2010 7:40 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
More great stuff Paul, thanks!
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #906449
Josep
Josep
Posted Tuesday, April 20, 2010 2:00 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 1:35 AM
Points: 139,
Visits: 4,605
Thank you Paul!
You post it just when I needed to use the CROSS APPLY to process a XML file
Post #906604
spaghettidba
spaghettidba
Posted Tuesday, April 20, 2010 2:42 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Today @ 6:45 AM
Points: 4,804,
Visits: 8,068
Always great stuff from you, Paul.
Well done.
Get your two-cent-answer quickly
The Spaghetti DBA
Post #906630
L' Eomot Inversé
L' Eomot Inversé
Posted Tuesday, April 20, 2010 8:49 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 7,096,
Visits: 7,156
Nice article, Paul. With this and the previous one I think I'm beginning to understand apply (a feature I haven't yet used, but probably will sometime soon now that you have shown me how it can be used to express things in a nice clean modular fashion).
Tom
Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
Post #907389
« Prev Topic
|
Next Topic »
51 posts, Page 2 of 6
««
1
2
3
4
5
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.