Forum Replies Created

Viewing 15 posts - 3,511 through 3,525 (of 49,552 total)

  • RE: Why like this????

    SELECT CAST('2016' as DATETIME)

    SELECT CAST(2016 AS DATETIME)

    The first, converting a string to datetime, is assumed to be the first of January of the year specified. The second, converting an integer...

    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 the code moving to Else block?

    It's not moving to the ELSE block. The error is a parse-time error, happens during parsing before any part of the code, including the IF has executed.

    You can see that...

    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?

    Jack Corbett (2/26/2016)


    For those who wish to submit sessions for the 2016 PASS Summit the deadline for submission is Wednesday, March 2. I have started working on...

    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: new to SQL server 2014 ( some installaton questions)

    szejiekoh (2/29/2016)


    UserB can login at any computer in the domain as "domain\accountB" and is still considered as OS authenticated and is able to access to the SQL server in...

    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: new to SQL server 2014 ( some installaton questions)

    szejiekoh (2/29/2016)


    But who will grant the permission to the service account ?

    and what account should we use to install SQL server 2014 then ?

    e.g if i use "domain/accountA" 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
  • RE: Log full - restricted 2TB vs unrestricted

    Property unavailable usually indicates a lock and a command timeout. Something had a lock such that it was preventing the file grow. May have been checkDB, may have been something...

    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: Log full - restricted 2TB vs unrestricted

    2TB is the max size allowable for a log file, so 2TB and unlimited are the same thing.

    It wouldn't, by itself, have prevented autogrow (unless the log really was 2TB)....

    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: Transaction log becomes FULL very quickly

    The broken replication is your problem. You need to fix or remove it, or the log will carry on growing.

    And stop messing with the recovery model of the DB. Every...

    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: Mirroring in Stand by mode

    No it's not. Mirroring requires that the DB be restored WITH NORECOVERY.

    Standby does a partial recovery and writes what it rolled back to a file in order to 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: Transaction Log Details

    Close enough.

    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: disk perfmon counter "avg sec/write" values not looking consistent with graph

    Can you reduce perfmon to a window size you can capture the entire of and repost the screenshot?

    Don't uncheck counters, use the highlight option in the toolbar to emphasise 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: corrupted mdf file

    5-year old thread

    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: disk perfmon counter "avg sec/write" values not looking consistent with graph

    The counter shown in the graph isn't the one you have selected at the bottom. The avg disk sec/read firstly is in red, the counter on the graph is blue,...

    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: Logic for order in calling procedire

    No, they will run sequentially.

    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?

    SQLRNNR (2/24/2016)


    GilaMonster (2/24/2016)


    SQLRNNR (2/24/2016)


    GilaMonster (2/24/2016)


    jasona.work (2/24/2016)


    http://www.sqlservercentral.com/Forums/Topic1763775-3412-1.aspx

    /Me leans back, grabs bucket of popcorn

    Sure sounds like Gail answered the original question, yet for some reason the OP decided to focus on 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

Viewing 15 posts - 3,511 through 3,525 (of 49,552 total)