Forum Replies Created

Viewing 15 posts - 26,146 through 26,160 (of 49,552 total)

  • RE: Restore Sequence - Full and transaction log backups

    Always err on the side of restoring more log backups, not less. If in your case log backup 1 wasn't needed and you restored full, log 1, log 2, 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: Order of Tables in a Query

    terrykzncs (5/12/2011)


    Obviously you need to test, test and test some more, but it does help to be aware that these little things do make a difference sometimes.

    If it makes a...

    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: SQL2008R2 memory usage - strange issue

    Because Task manager lies. Never use it to check SQL's memory, use the Total Memory counter (perfmon)

    In short, task manager does not count locked pages, so if you're using AWE...

    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: How do you post a reply with a screen shot, step by step

    Use the Attachements to attach an image to the post (or upload to a photo site), then use the [ img ] tag to show it in your 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: Data Loss

    Eric M Russell (5/12/2011)


    You are correct about the Default Trace not logging DML statements. It will trace stored procedure calls and SQL select, even DDL, but not DML (go figure).

    It...

    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: Trouble Declaring a Variable in a Stored Procedure

    Garadin (5/12/2011)


    B: Get rid of the dynamic SQL.

    Something like this instead:

    SELECT po.vend_num,

    vendaddr.name,

    ...

    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?

    jcrawf02 (5/12/2011)


    why do I need an iPad2? suggestions? (32GB wifi version, guy at work selling it)

    Err... you don't. 😉

    (I'd get Swype, to alleviate my carpal tunnel issues - and...

    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: Backup restore scenario

    You can restore the full and the logs up until the missing one. No further.

    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: sql server time out

    sqlstar2011 (5/12/2011)


    BUFFER:BUF @0x0000000244FD1600bpage0x0000000244458000

    BUFFER:BUF @0x0000000244FD1600bhash0x0000000000000000

    BUFFER:BUF @0x0000000244FD1600bpageno(1:1230531)

    BUFFER:BUF @0x0000000244FD1600bdbid110

    BUFFER:BUF @0x0000000244FD1600breferences0

    BUFFER:BUF @0x0000000244FD1600bUse17211

    BUFFER:BUF @0x0000000244FD1600bstat0xc00109

    BUFFER:BUF @0x0000000244FD1600blog0x21597979

    BUFFER:BUF @0x0000000244FD1600bnext0x0000000000000000

    PAGE HEADER:Page @0x0000000244458000m_pageId(1:1230531)

    PAGE HEADER:Page @0x0000000244458000m_headerVersion1

    PAGE HEADER:Page @0x0000000244458000m_type2

    PAGE HEADER:Page @0x0000000244458000m_typeFlagBits0x4

    PAGE HEADER:Page @0x0000000244458000m_level0

    PAGE HEADER:Page @0x0000000244458000m_flagBits0x0

    PAGE HEADER:Page @0x0000000244458000m_objId (AllocUnitId.idObj)8575

    PAGE HEADER:Page @0x0000000244458000m_indexId (AllocUnitId.idInd)256

    PAGE HEADER:Page...

    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: Exam 70-451

    subsonic-abercrombie (5/12/2011)


    Now with the R2 stuff in the mix, you gotta wonder how of it has seeped into the test questions and made what you knew previously.

    None. There...

    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: Data Loss

    Eric M Russell (5/12/2011)


    You may already know this, but had you been running SQL Server 2005+, you could query T-SQL commands from the recent past from either the Default Trace...

    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?

    Maybe someone should point out to then that it's not just job applicants who need to just spell/grammar checkers on their job applications.

    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: sql server time out

    Looks like a page. The FileID:PageID is how SQL refers to a specific page. Read up on DBCC Page (undocumented) for getting the ID of the table that owns 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: Sleeping and suspended processes

    Not necessarily. Locks are just one of the many things it could be waiting 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: INSERT INTO Question

    Ok, now you're clear...

    What's the primary key of the Purchasing table?

    p.s. If you're going to use Try Catch, do something with the error, otherwise just leave the error handling out....

    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 - 26,146 through 26,160 (of 49,552 total)