Table Design

  • Comments posted to this topic are about the item Table Design

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • Nice question, thanks.

    I had to read it a few times...

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • This is a great question. Even though I knew SQL Server will re-arrange fixed width columns first and the variable columns last, I was unable to get this right.

    M&M

  • Thank you for qotd. I really learnt something new and useful.

    I should read it 10 times carefully, but at last, when I understand that the goal of qotd was to save space on disk I answered quickly 'c40'.

  • good question

    Jamie

  • Excellent question today - thanks Ron.

  • Excellent question. Thanks

  • Thank-you for this great question! Because I started off with main-frame COBOL, I went with common sense (even before the SQL mind took over) and came to the conclusion that the last column, if kept NULL will provide with the maximum savings.

    Once again, thank-you, and have a great day!

    Thanks & Regards,
    Nakul Vachhrajani.
    http://nakulvachhrajani.com

    Follow me on
    Twitter: @sqltwins

  • Jamie Longstreet-481950 Posted Today @ 4:28 AM

    Other than speaking of your own expertise, what is there to convince a developer to follow these obscure rules...

    Least anyone feels that it is my own expertise, let me forcefully point out that I found this gem of information by reading a blog posting by Kimberly L. Tripp (link included in the justification for the correct answer).

    I hope that this question introduces many to use all the resources available to them, SqlServerCentral, Books On Line, among the obvious and the not so obvious, blog postings of many highly qualified individuals to delve deeper into the inner workings of SQL Server.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • Guessed the correct answer for the right reasons. Had to read it a few times to understand what was being asked. I learned something new here. Nice question!

  • Jamie Longstreet-481950 (3/7/2011)


    This is a good question because it shows just how naive the SQL system can be when it comes to query optimization.

    Jamie - It was my understanding that this question was about how data is stored in the data pages. What did you see that made you think about query optimization?

  • Great Monday Morning QOTD. Thank you.

  • Interesting question - thanks.

    The link in the explanation seems to be for page containing all Kimberly's SQL 2005 articles- for the exact post relating to this question I think the link is: http://sqlskills.com/BLOGS/KIMBERLY/post/Column-order-doesnt-matter-generally-but-IT-DEPENDS!.aspx

  • Great question!! Learned something new today.

    Thanks!!

  • Totally irrelevant to the question of course, but I needed to tell someone:

    I've now finally answered every QOD in existance! (until tomorrow's comes out, anyway)

    It's been a tough journey, but feels good to have finally got up to date. :hehe:

Viewing 15 posts - 1 through 15 (of 24 total)

You must be logged in to reply to this topic. Login to reply