Viewing 15 posts - 1 through 15 (of 23 total)
Hi ,
Yes, that is exactly what I was trying to achieve.
Thank you so much !
----------------------------------------
stiil not clear...........
is this the expected output ...eg a table of results?
USE [tempdb]
GO
CREATE TABLE [dbo].[TBL](
[Cust...
September 12, 2011 at 9:48 am
Okay , let me give you another example.
In BANKING :
Joe Bloggs has 3 different type of accounts at the same bank.
He has a 1) Credit Card 2) Cheque Account 3)...
September 12, 2011 at 8:45 am
LOLz .
Nope its not.
Its actually a learning curve ( Cold Coffee nailed it ).
I am using this ficticious example so I can apply it to real live data.
So, once I...
September 12, 2011 at 8:10 am
Sorry for being ambigious ....
Ignore the | characters , that was just to seperate the data.
So, I need it to be
Paul Oranges ...
September 12, 2011 at 8:03 am
Hi,
Your output is correct. I got confused with my own fictional tables. 🙂
But I am still looking for an output like below.
Peter| Apples | Plums ( No NULL Value inbetween...
September 12, 2011 at 7:25 am
Hi PG,
I still get the Items in the wrong place.
NAMEDistributorID123
Peter1 1 NULLNULL
Paul2 ...
September 12, 2011 at 5:48 am
Welsh Corgi (9/12/2011)
zaleeu (9/12/2011)
Maximum of 6 Fruit.
What if they decided that they want to start selling more than six types of fruit? 😀
What if they decided that he wanted to...
September 12, 2011 at 4:29 am
😀 Munches Away
Great Reply thanks !
/me Adds some more to the Learning Curve .
:w00t:
September 12, 2011 at 4:18 am
Okay I made the NULLS go away but it still not correct.
NameFruit1Fruit2Fruit3Fruit4Fruit5Fruit6
PaulOranges
PeterApples Plums
September 12, 2011 at 3:34 am
Thanks ColdCoffee, I get the following answer
Actual Output
NameFruit1 Fruit2 Fruit3 Fruit4 Fruit5 Fruit6
Paul:NULL:Oranges: NULLNULLNULLNULL
PeterApples:NULL: Plums NULLNULLNULL
Which brings me to the...
September 12, 2011 at 3:27 am
@ Welsh Corgy
Hi,
Thanks for your reply.
The post was just a " example " ( made up ) database.
The real DB is more structured and has all the suggestions that you...
September 12, 2011 at 2:51 am
ColdCoffee (9/12/2011)
btw, did my query solve ur query ? 😛
Its a Learning Curve 🙂 So I am still working on it, but you have pointed me in the right direction....
September 12, 2011 at 2:48 am
Nope, not homework. A newbie question 🙂
Thanks for the help. This will help me a lot .
😀
September 12, 2011 at 2:10 am
Okay, time to figure this out then.
Cheers !
😛
September 8, 2011 at 11:10 am
Viewing 15 posts - 1 through 15 (of 23 total)