Forum Replies Created

Viewing 15 posts - 271 through 285 (of 355 total)

  • RE: Column Order in an Index

    David Walker-278941 (11/23/2010)


    If you change the columns to Char(8) now, there won't ever be 450 characters in the column!

    If the vendor sending the data says that the data...

  • RE: Column Order in an Index

    Doh, I just discovered the maximum key length is 900 bytes so combining two VARCHAR(500) columns into one index results in a warning:

    The maximum key length is 900 bytes. ...

  • RE: Column Order in an Index

    GilaMonster (11/23/2010)


    cengland0 (11/23/2010)


    Wilfred van Dijk (11/23/2010)


    aha, the never-ending question about multicolumn or single column indexes!

    Again, check Gail's excellent articles about indexes:

    http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/

    Thanks for the link but I get "404 - File...

  • RE: Column Order in an Index

    Michael Ebaya (11/23/2010)


    cengland0 (11/23/2010)


    Please don't laugh at me for asking this question.

    Why would you create a compound index with both last name and first name together? Why not two...

  • RE: Column Order in an Index

    Wilfred van Dijk (11/23/2010)


    aha, the never-ending question about multicolumn or single column indexes!

    Again, check Gail's excellent articles about indexes:

    http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/%5B/url%5D

    Thanks for the link but I get "404 - File...

  • RE: T-SQL GO statement

    Excellent question. Finally one without any trick and one where I actually learned something. I can actually find a use for this feature.

  • RE: Column Order in an Index

    Please don't laugh at me for asking this question.

    Why would you create a compound index with both last name and first name together? Why not two separate indexes where...

  • RE: Conditional Order By

    mister.magoo (11/16/2010)


    Thanks to those of you who appreciate this question.

    To those who think it had unnecessary "tricks" in it, I did try several variants of this question and they all...

  • RE: Query text during caching in SQL 2005

    Any BOL links you can provide regarding this? There wasn't one in the explanation.

  • RE: Database Snapshot

    janki_2886 (11/9/2010)


    This was Question Direct from BOL, I have used same sentence as in BOL, Do you still think, its a grammer mistake.

    Not saying it's a grammar mistake. I'm...

  • RE: Database Snapshot

    steve block (11/9/2010)


    I too chose None of the Above (interpreting that it meant ("it depends") because system databases are excluded from Database Snapshots. If you follow the logic that...

  • RE: Database Snapshot

    Hugo Kornelis (11/9/2010)


    Nice, easy question.

    I was wondering about the inclusion of the "none of the above" option. Was this just a joke from the question author, or will people actually...

  • RE: COLLATION

    Michael Poppers (11/3/2010)


    Yes, he might have been better off listing the possible choice as SELECT CONVERT(char, SERVERPROPERTY('collation','MyDatabaseName')) and perhaps that was his intention :-).

    Agreed. I work in a training...

  • RE: COLLATION

    SanDroid (11/3/2010)


    Nice question.

    I learned something, there were no errors or typos with the answer, and the reference data supported the documentation.

    The only negative comment I have is that...

  • RE: COLLATION

    Curious why it was being converted to Char in the query.

Viewing 15 posts - 271 through 285 (of 355 total)