Forum Replies Created

Viewing 15 posts - 2,191 through 2,205 (of 2,452 total)

  • RE: Please help me out this question?

    pathuripr (9/18/2011)


    The output should be the total quantity sold for each product and return a print statement that reads (as an example) a total of 7 monitor(s) were sold you...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Please help me out this question?

    suggestion...read up on GROUP BY / SUM et al

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: total of sum

    Hello

    you have asked a sensible question....you have been asked to provide suitable scripts that willl assist someone on here to hopefully provide a solution to your pronlem.

    At the moment only...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: total of sum

    to help us help you...please post table creation / insert data /query scripts that will provide a representative sample of the data...based on the sample dat you provide, please provide...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Can I convert rows to columns?

    deleted....think I may have misunderstood your requirements :ermm:

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Can I convert rows to columns?

    Hi simflex

    to help us help you...please post table creation / insert data scripts that will provide a representative sample of the data...and allow us to use the query you...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Group/Format Data to Display Value Only Once per Group

    😀

    good luck.....post back if you get problems

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Compare two records of the same table

    SQL_Surfer (9/16/2011)


    I need to traverse through each record in table and compare between the two records of the same table? Is there a better way of doing this instead of...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Group/Format Data to Display Value Only Once per Group

    Jason

    now you are spoon feeding .....:-P:-P:-P:-P

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Group/Format Data to Display Value Only Once per Group

    not sure why you are using SSIS...a TSQL possible solution below.

    have a play around with this code.....seems therre are several posts recently relating to "fruit"....are you all on the same...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Urgent help needed= Please help

    NJ-DBA (9/15/2011)


    The answer is 42.

    So Long, and Thanks for All the Fish

    ...sorry 😀

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Combine data of 3 tables into a single row

    zaleeu (9/12/2011)


    Hi ,

    Yes, that is exactly what I was trying to achieve.

    Thank you so much !

    ----------------------------------------

    ok...so we now have some clarifcation on what you require.

    Given this table of results, what...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Combine data of 3 tables into a single row

    zaleeu (9/12/2011)


    Sorry for being ambigious ....

    Ignore the | characters , that was just to seperate the data.

    So, I need it to be

    Paul Oranges ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Combine data of 3 tables into a single row

    Hi Zaleeu

    But I am still looking for an output like below.

    Peter| Apples | Plums ( No NULL Value inbetween )

    can you please clarify....do the results have to be in separate...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Syntax problem using SELECT.. IN (@variable)

    many thanks for clarification....

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 2,191 through 2,205 (of 2,452 total)