Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 3,543 total)

  • RE: Get Max Row Only if no Ties

    Ninja's_RGR'us (5/10/2011)


    I knew I had missed something ovbious...

    Tx for the assist.

    No worries, I had to read the post a few times to spot it myself 🙂

    My only concern is what

    Sorry,...

  • RE: Get Max Row Only if no Ties

    Ninja's_RGR'us (5/10/2011)


    That gives you the result you want but I'm not sure about the way I'm getting there. Test it on your full dataset to confirm plz.

    But that will...

  • RE: Correct inner join

    Not quite, you are joining on on one part and filtering with the other

    Try this

    SELECT a.[ID],a.MACId

    FROM dbo.Table_1 a

    WHERE NOT EXISTS (SELECT * FROM dbo.Table_2 b WHERE b.[ID]=a.[ID] AND...

  • RE: Normalization

    Steven993 (4/28/2011)


    David Burrows (4/28/2011)


    Steven993 (4/27/2011)

    I actually have Date on Database Writings 2000-2006 under my eyes.

    Chapter 8, 30 apges is dedicated to that topic.

    p127

    Definition

    A table is normalized - equivalently, it is...

  • RE: Normalization

    Steven993 (4/28/2011)


    David Burrows (4/28/2011)


    Steven993 (4/27/2011)


    David Burrows (4/27/2011)


    Your example shows violation of Codd's 1NF and is what I understood to be 1NF.

    My example, you mean AddressLine table ? It's is not...

  • RE: Normalization

    Steven993 (4/27/2011)

    I actually have Date on Database Writings 2000-2006 under my eyes.

    Chapter 8, 30 apges is dedicated to that topic.

    p127

    Definition

    A table is normalized - equivalently, it is in first normal...

  • RE: Normalization

    Steven993 (4/27/2011)


    David Burrows (4/27/2011)


    Your example shows violation of Codd's 1NF and is what I understood to be 1NF.

    My example, you mean AddressLine table ? It's is not a 1NF violation..

    No...

  • RE: Normalization

    Steven993 (4/27/2011)


    David Burrows (4/27/2011)


    If, as you state, the DDL in question does conform to Date's 1NF as in 'There's no top-to-bottom ordering to the rows' can you post example DDL...

  • RE: Normalization

    David Portas (4/27/2011)


    GSquared (4/27/2011)


    I say the rows in that table are "ordered" because there's a column that specifically determines the order of the rows. Look at the table design,...

  • RE: Truncated field length in query

    S Hodkinson (4/27/2011)


    The column definition in the table is varchar (128). The query was a simple 'Select * where column name is 'nnnnn''. The results grid show the...

  • RE: NEED HELP= Monthly SQL database growth calculation script

    hydbadrose (4/26/2011)


    Ok so for the following script how would you change in whole;

    As I already stated

  • DDL to create the table (including indexes)
  • Sample data to test with (important especially for ExecuteTime,...

  • RE: NEED HELP= Monthly SQL database growth calculation script

    hydbadrose (4/26/2011)


    How about this statement? we were deviding by 3 to get the quarterly data.

    and DATEPART(MM, B.[ExecuteTime]) = DATEPART(MM, DATEADD(mm, -3, a.[ExecuteTime]))),0)/3.0 AS Data_Usage_Growth

    That would give you an AVERAGE monthly...

  • RE: Are the posted questions getting worse?

    Kiara (4/26/2011)


    Got any to spare?

    It'll rot your gut and make you blind 😛

  • RE: NEED HELP= Monthly SQL database growth calculation script

    hydbadrose (4/25/2011)


    I used this script to get the quarterly growth, but I have to modify to get the monthly growth. Can you please help.

    Remove the month selection in the WHERE...

  • RE: Landing My First Job

    Oh! And BTW I have seen some DBAs I would not like as my last line of defence :w00t:

  • Viewing 15 posts - 1,081 through 1,095 (of 3,543 total)