Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2004
    Location
    OHIO
    Posts
    5

    Unanswered: database error msgs

    Is there a reference that describes error messages?
    On line Books does not seem to contain error listings. Still using sequel 7.

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    I generally go to Google and type SQL Server and then cut and past the error code and look for the first microsoft link.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Feb 2004
    Location
    San Antonio, TX
    Posts
    565
    Select * from sysmessages
    order by 1,2

    (do as i say not as i do)


    Books Online {System Error Messages}

    ps does anyone know the significance of the DLevel col in sysmessages
    it contains the numbers 0 1, 2, 4, 128
    the internet\microsoft says that it's for future use. but my system seems to be using that col now.... haw haw haw....

  4. #4
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    This column is a bit-based smallint that contains severity and "loggability" (my word, copyright rdjabarov® all rights reserved) of a message.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  5. #5
    Join Date
    Feb 2004
    Location
    San Antonio, TX
    Posts
    565
    Quote Originally Posted by rdjabarov
    This column is a bit-based smallint that contains severity and "loggability" (my word, copyright rdjabarov® all rights reserved) of a message.

    severity is already a col in sysmessages why have it twice
    do i smell smoke being blown behind me?

  6. #6
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    You may, but since it's bit-based (&) value, - it's taking into account the severity column to come up with the value.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •