September 25, 2007 at 1:45 am
Heh... let's see your "low knowledge" do it 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2007 at 4:59 am
sheh, mistrusting. ey...
I'll post it when I've got some time. Will use a tally table to crawl through the records
July 9, 2008 at 2:43 pm
Hi Jeff,
I was researching cross-tab like products and your postings come as one who knows how.
I need to produce a of Cases and comma-separated list of Jurisdictions, like this
Case Jursidiction
123 AL, CA, CA-FTB, ME
234 AK, CA, MS
345 MT, TX, UT, WY
Given that Cases is a separate table as is Jursidictions, there is a one to many from Cases.caseID to Justisdictions.caseID. This output from this will go into a windows form grid that resembles the example. Cross-tabs are giving me columns for each jursidiction which isn't what I need - jus tneed a plain comma-separated string.
Can you point me in the right direction please ?
Best regards,
Tom
July 9, 2008 at 4:39 pm
Tom Hamilton (7/9/2008)
Hi Jeff,I was researching cross-tab like products and your postings come as one who knows how.
I need to produce a of Cases and comma-separated list of Jurisdictions, like this
Case Jursidiction
123 AL, CA, CA-FTB, ME
234 AK, CA, MS
345 MT, TX, UT, WY
Given that Cases is a separate table as is Jursidictions, there is a one to many from Cases.caseID to Justisdictions.caseID. This output from this will go into a windows form grid that resembles the example. Cross-tabs are giving me columns for each jursidiction which isn't what I need - jus tneed a plain comma-separated string.
Can you point me in the right direction please ?
Best regards,
Tom
I sure can, Tom... take a look at the following article... It not only gives some working examples to practice on, but it also identifies and tells how to avoid one of the major pitfalls of doing this "contatenation"...
http://www.sqlservercentral.com/articles/Test+Data/61572/
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 5:07 pm
Exactly what I needed.
Blessings on you and yours,
Tom
July 9, 2008 at 5:32 pm
Thanks for the feedback, Tom. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 31 through 35 (of 35 total)
You must be logged in to reply to this topic. Login to reply