Forum Replies Created

Viewing 15 posts - 19,906 through 19,920 (of 49,552 total)

  • RE: SET STATISTICS TIME - What "exactly" is CPU time a measure of versus elapsed time, and how are they related?

    Why complicate matters? It's the number of cores available to SQL Server, SQL doesn't care about the number of sockets.

    Also consider measuring inaccuracies.

    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: SET STATISTICS TIME - What "exactly" is CPU time a measure of versus elapsed time, and how are they related?

    CPU time = total time spent by CPU processing the query. Elapsed time = total time between query starting and query completing.

    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?

    mtillman-921105 (3/5/2012)


    I wish I could cook Chinese (or Japanese!), but we have an electric oven and I'm told that you really need gas to get the Wok hot enough.

    I cook...

    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: Nesting GO inside of BEGIN END statement (new procedure)

    guerillaunit (3/5/2012)


    I'd like to divide the statement into separate subscripts because the subscripts need to be processed in sequence.

    Not following.

    If you have a set of statements (like in 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: AND Operator in SQL

    jigsm_shah (3/5/2012)


    I have an Item table and it has ItemTypeId as on of the column.

    Now when I write the following query,it does not return any rows.

    There are Items with ItemTypeId...

    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: Nesting GO inside of BEGIN END statement (new procedure)

    What do you mean by 'separate scripts'? What's the goal here, what are you trying to achieve?

    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: Slight mystery....

    Then that's probably the table that you want to be joining to. Any time you have a situation where you join duplicate values to duplicate values you'll get the 'row...

    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 use dynamic sql and prevent sql injection

    Yes, it's absolutely possible

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    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: Nesting GO inside of BEGIN END statement (new procedure)

    You can't have a USE in the procedure, and the first GO will be the end of the procedure.

    GO is not a T-SQL command. It's a client tool batch-breaker. 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: Select CPU or cores

    Well 2x12 gives 8 more cores to do work. My only concern would be the cache, a 12 core processor should have a lot more L2 and L3 cache than...

    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: checkdb error in master database

    Restore of master should be very fast (practice on a dev machine so you know how it works), also this likely isn't absolutely critical to fix if there's not much...

    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 Transaction Logs - How to read/interpret

    Eric M Russell (3/5/2012)


    If you're thinking about implementing some solution that involves auditing events, then consider extended events.

    Though since this is the SQL 2000 forum, it needs mentioning that Extended...

    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: checkdb error in master database

    I would recommend restore from a clean backup.

    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 CPU or cores

    The 2x12 gives you 24 cores vs the 16 that the 4x4 would, and if you're licensing by processor as opposed to CAL it's half the licensing costs as well.

    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 sever 2008 advice

    ddafunk (3/5/2012)


    what is the sql vhd?isit like a virtual server thingy

    No such term.

    A VHD is a virtual hard drive used in virtualisation products. Nothing to do with SQL Server.

    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,906 through 19,920 (of 49,552 total)