Forum Replies Created

Viewing 15 posts - 14,251 through 14,265 (of 49,552 total)

  • RE: A severe error occurred on the current command.The results, if any, should be discarded.

    tony28 (2/15/2013)


    hmm, but after this I can do query and etc...

    Maybe, but what you did is NOT the way you fix that 'error' (which had nothing to do with...

    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: DBCC 802 error

    Error 802 is "Insufficient memory in the buffer pool", which suggests there's insufficient memory.

    Probably too much done in that job and not enough memory allocated (or incorrect VM settings)

    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: A severe error occurred on the current command.The results, if any, should be discarded.

    tony28 (2/15/2013)


    I solved it yesterday yet, i deattached DB and then attached and recovery..

    That is NOT how you solve a full transaction log.

    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: Clustered Key. (Making it unique).

    Even if you put a unique constraint on the identity column, it won't (afaik) be enough. If the clustered index is unique, the clustered index should be created with 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: Clustered Key. (Making it unique).

    It's there because the clustered index wasn't defined as UNIQUE. SQL can't intuit or guess that the columns are unique or not, so unless the clustered index is created with...

    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: Index fragmentation issue in SQL Server 2005

    dsachu (2/15/2013)


    still waiting for response....

    I read the post this morning, didn't have time to reply. Was going to reply now, but have paying work to do instead.

    We're volunteers. We post...

    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: Understanding the Undo Phase

    Kwisatz78 (2/15/2013)


    I had thought that any uncommitted transactions would only have been held in memory

    Nope. There's no requirements that uncommitted transactions not be written to disk, they can be, they...

    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: Adding Bit Datatype Column to the INDEX

    My general rule is if it is filtered on and can be part of a seek, then it goes in the key. No sense in making SQL do more work...

    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: Adding Bit Datatype Column to the INDEX

    Jason-299789 (2/15/2013)


    in 99% of cases is probably going to be part of the INCLUDE part of the index, as BIT fields tend to be used for filtering.

    If the bit column...

    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: Adding Bit Datatype Column to the INDEX

    Yes, you can. Impact depends on whether it's useful for queries, where it is in the index and a whole lot more.

    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: Reindexing Tables used in Log Shipping

    jblovesthegym (4/18/2012)


    SOME POSTS in this thread are indeed over two years old, but the one immediately preceding yours answers a lot of questions I was going to pose (as I...

    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: Emergency state

    kapfundestanley (2/14/2013)


    Yes I did put it from suspect mode.In order to run dbcc checkdb.

    General rule, if you want help with a corrupt DB, tell the entire story, not a portion...

    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: A severe error occurred on the current command.The results, if any, should be discarded.

    tony28 (2/14/2013)


    Hi Gila, please can you help me? I have test server, and I inserted lot of rows for test with NOLOCK hint and then i got first error

    Msg...

    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: Why doesn't my transaction log grow with delete's? Recovery mode is set to FULL

    Yup, exactly.

    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: Weird Behavior of Trigger

    How are you inserting from SSIS? If using one of the bulk load options, have you set 'fire triggers' property on?

    p.s. Is hardcoding an OrderID in the trigger going to...

    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 - 14,251 through 14,265 (of 49,552 total)