Forum Replies Created

Viewing 15 posts - 19,501 through 19,515 (of 49,552 total)

  • RE: Landing My First Job

    patrickmcginnis59 (3/28/2012)


    GilaMonster (3/28/2012)


    patrickmcginnis59 (3/28/2012)


    Ninja's_RGR'us (11/23/2011)


    Dev (11/23/2011)


    (XYZ is still waiting for thanks :hehe:).

    The most prolific poster post because it's the RIGHT thing to do. Not to get anything...

    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: Noob question on an if..then statement

    Yup, that's far more likely to work.

    http://sqlinthewild.co.za/index.php/2008/05/20/common-t-sql-mistakes/

    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: Landing My First Job

    patrickmcginnis59 (3/28/2012)


    Ninja's_RGR'us (11/23/2011)


    Dev (11/23/2011)


    (XYZ is still waiting for thanks :hehe:).

    The most prolific poster post because it's the RIGHT thing to do. Not to get anything of any...

    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: Max Memory- who suffers- Sql Server or OS?

    http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    Chapter 1 and 4

    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: Noob question on an if..then statement

    sqlpadawan_1 (3/28/2012)


    Thanks,

    If I make a change and capture the @@ERROR after every SQL statement in the proc, with something like:

    IF (@@ERROR <> 0) AND (@ErrorNumber = 0)

    BEGIN

    ...

    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: Max Memory- who suffers- Sql Server or OS?

    It'll try, yes. The algorithm's a complex LRU check.

    I generally leave SQL's min memory at 0. Monitor, if you see memory allocations keep dropping very, very low then maybe you...

    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: Max Memory- who suffers- Sql Server or OS?

    Also note that just because SQL is using 7GB of memory doesn't mean it absolutely has to have 7GB to work. SQL's a memory hog, it will use whatever 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: Max Memory- who suffers- Sql Server or OS?

    I do like locked pages, especially on a dedicated server. I set the max memory carefully, leave the min at 0.

    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: Noob question on an if..then statement

    From Books Online

    ERROR_NUMBER ( )

    When called in a CATCH block, returns the error number of the error message that caused the CATCH block to be run.

    Returns NULL if called outside...

    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: Max Memory- who suffers- Sql Server or OS?

    Usman Butt (3/28/2012)


    Yuri55 (3/28/2012)


    "the OS will ask SQL to reduce its memory and SQL will do so, down to min server memory at the lowest. No one suffers, this is...

    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: Max Memory- who suffers- Sql Server or OS?

    No one suffers meaning that SQL has voluntarily reduced its memory usage and manages with less. Compare that to the case where it thinks it still has 7GB of memory...

    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 to reduce the execution time of a query?

    Charmer (3/28/2012)


    GilaMonster (3/28/2012)


    Table redesign?

    you want me to redesign the table?

    It's a suggestion. Afterall, you said "the table structure is so stupid so that we are not able to get any...

    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: Max Memory- who suffers- Sql Server or OS?

    Yuri55 (3/28/2012)


    GilaMonster (3/28/2012)


    Depends on the memory settings.

    If SQL's min server memory is lower than the max, the OS will ask SQL to reduce its memory and SQL will do so,...

    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 to reduce the execution time of a query?

    Table redesign?

    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: Max Memory- who suffers- Sql Server or OS?

    Depends on the memory settings.

    If SQL's min server memory is lower than the max, the OS will ask SQL to reduce its memory and SQL will do so, down 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 - 19,501 through 19,515 (of 49,552 total)