Forum Replies Created

Viewing 15 posts - 16 through 30 (of 103 total)

  • RE: Help with Counts

    ChrisM@home (1/18/2012)


    bicky1980 (1/11/2012)


    ...These are just the basic counts, I will need to then run these incoporating the where clause for various variables. If someone could advise of the best...

  • RE: Help with Counts

    SQLKnowItAll (1/18/2012)


    bicky1980 (1/18/2012)


    SQLKnowItAll (1/17/2012)


    I think that we can all agree that this was not a mathematical issue but a logic issue. The two not being mutually exclusive, but being related....

  • RE: Help with Counts

    SQLKnowItAll (1/17/2012)


    I think that we can all agree that this was not a mathematical issue but a logic issue. The two not being mutually exclusive, but being related. Anyway......

  • RE: Help with Counts

    L' Eomot Inversé (1/17/2012)


    GSquared (1/17/2012)


    I think this whole thing may be getting massively overcomplicated by the math.

    Is the actual business requirement simply a count of how many distinct datakeys there...

  • RE: Help with Counts

    SQLKnowItAll (1/17/2012)


    SQLKnowItAll (1/17/2012)


    If the data could be processed in the following manner that would be great

    1. Extract all the data with a landline

    2. Dedupe the data on datakey - keep...

  • RE: Help with Counts

    SQLKnowItAll (1/17/2012)


    bicky1980 (1/17/2012)


    ChrisM@home (1/17/2012)


    bicky1980 (1/17/2012)


    SQLKnowItAll (1/17/2012)


    L' Eomot Inversé (1/17/2012)a set of datakey-landline pairs such that each landline and each datakey occurs only once

    As far as I can tell, this is...

  • RE: Help with Counts

    ChrisM@home (1/17/2012)


    bicky1980 (1/17/2012)


    SQLKnowItAll (1/17/2012)


    L' Eomot Inversé (1/17/2012)a set of datakey-landline pairs such that each landline and each datakey occurs only once

    As far as I can tell, this is an impossible...

  • RE: Help with Counts

    SQLKnowItAll (1/17/2012)


    L' Eomot Inversé (1/17/2012)a set of datakey-landline pairs such that each landline and each datakey occurs only once

    As far as I can tell, this is an impossible statement without...

  • RE: Help with Counts

    GSquared (1/17/2012)


    bicky1980 (1/13/2012)


    GSquared (1/13/2012)


    The order of the rows in a dataset doesn't really matter to set-based SQL operations on it.

    I just need a clarification on this statement, "Total number of...

  • RE: Help with Counts

    How do I copy code from the forum to paste into Management studio, without having to refomat it myself everytime?

  • RE: Help with Counts

    Hello Chris

    I cant post the results due to data protection 🙁 , which is going to be difficult to try and get you to see my issue, this was why...

  • RE: Help with Counts

    The datakey & landline doesnt exist in my final table

    I edited the query at the end to put the results into a new table

    SELECT *

    into lvl

    FROM Level1

    UNION...

  • RE: Help with Counts

    The Query does however, appear to exclude some records, which I cant explain.

    I had 4 records with the same datakey and same landline, but these results were excluded from the...

  • RE: Help with Counts

    Hi Chris

    I have run the query on a sample of 100,000 records, in my results there are no duplicate telephone numbers and no duplicate datakeys, which is great! (Ran fast...

  • RE: Help with Counts

    ChrisM@home (1/16/2012)


    bicky1980 (1/16/2012)


    ...

    And what does that mean?

    They're solutions to a particular type of problem, well known and defined, and I think it's fair to say that one or two folks...

Viewing 15 posts - 16 through 30 (of 103 total)