Forum Replies Created

Viewing 15 posts - 40,621 through 40,635 (of 49,552 total)

  • RE: "Answered" Posts

    Like Lynn, I have no problem with the idea of an "Answered post" It is something lacking here. I do have a small problem with this though:

    I followed some of...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Lynn Pettis (3/4/2009)


    You know, I don't mind helping him, but there are times I really have to wonder how he got to where he is.

    I just don't have the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: joint slows down query to the point that it wont run when too many records

    Can you post the table definitions, index definitions and execution plan (saved as a.sqlplan file, zipped and attached) please?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: QA and SP - different resutls

    Jeff Moden (3/4/2009)


    Heh... I shouldn't post so late at night... I forgot the bloody spaces. :hehe:

    Howcanyouforgetthespaces?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Our friend again? All yours, I'm not touching his...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: "Answered" Posts

    Mangal Pardeshi (3/4/2009)


    But what about someone who is new on forums? How will he/she will come to know about poor advise? By the time he/she realizses damage might have...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Is there a way to select all columns except one or two columns?

    Yup, list all the column names (as you've done in your example)

    If you don't want to type, and I don't blame you, then there's a quick way. Expand out object...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: QA and SP - different resutls

    WHERE (a IS NULL AND b IS NULL)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Surrogate clustered index to guarantee "sequentiality"

    one (3/3/2009)


    Why all this worry about having the clustered index unique? 🙂

    A clustered index is always unique. The only question is do you make it unique, or does SQL make...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error: Could not open FCB for invalid file...

    Paul Randal (3/3/2009)


    Not you Gail, dmoldovan.

    Yup. I realised that. Just noticed that he'd misquoted me and wanted to set the record straight.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    The level field isn't unique across all rows, only across rows with the entry and group ids identical.

    Then try this

    SELECT * FROM YourTable OuterTable WHERE EXISTS (

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Clean shutdown

    noeld (3/3/2009)


    That is why I don't really think "Clean Shutdown" is something you can choose.

    It's not. SQL will always try to cleanly shut down all of its databases before...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error: Could not open FCB for invalid file...

    dmoldovan (3/3/2009)


    As GilaMonster said, you should NEVER use DBCC REBUILD_LOG.

    Actually I said it should never be the first thing tried.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    That will only ever allow me to return 1 row, correct?

    No. There's a group by in the subquery, so that query will return 1 row for...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    Yeah, there was no forum for Sql server 2000.

    Yes there is. The 2000 forums are below the 2005 forums on the forum home page.

    T-SQL (2000)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 40,621 through 40,635 (of 49,552 total)