Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11

    Unanswered: Huh?!? Strange behavior from the sysaltfiles table.

    Try a little experiment. Partly to humor me, and make me believe I am not quite insane.

    Step 1: Install SQL server 2000, such that the data files are not in the default location, but in a location with a shorter path (i.e. install the data files to E:\MSSQL8).

    Step 2: Run the following queries, and comment on any oddities:
    Code:
    select filename
    from master..sysaltfiles
    where dbid = 2
    go
    select reverse(rtrim(filename)), filename
    from sysaltfiles
    where dbid = 2
    go
    select reverse(rtrim(filename))
    from sysaltfiles
    where dbid = 2
    I am guessing that #2 is some sort of odd effect caused by the fixed length data field, but I just want to make sure that other people get this oddity, and not just me. I have no idea what could be causing the third output...or perhaps the lack of it.

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    that is making my head hurt.

    how bored must you be to even find this.
    “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
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    It is actually a request from the folks who did our last DR test. They had a problem where one of our servers at the DR site did not have all the required paths. Solution: Blame the DBA. So, I am trying to put together a script that spits out all the required directories. After that, I will cycle through that list, and create/confirm the directories' existence.

Posting Permissions

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