Forum Replies Created

Viewing 15 posts - 3,871 through 3,885 (of 49,552 total)

  • RE: cannot connect to my named instance

    Login with Windows authentication and be logged into windows with the account that you installed the instance as. Part way through the installation it would have prompted you for windows...

    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: Big database with data file failure

    lw1990 (1/8/2016)


    I tried it as you said. But after I detached the old database and was trying to restore to it, I got the "database is in use" error when...

    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: Can't not revoke server permission.

    Because it's not an explicitly granted permission. It's part of what CONTROL SERVER grants (which is basically sysadmin rights). You can DENY the right, and the DENY will overrule 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: Big database with data file failure

    You don't need to create a new database and then restore over. Doing so is why you got an error, the database in the backup didn't match t\he one you'd...

    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 and NonClustered Index

    Edit: nm

    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 and NonClustered Index

    er.mayankshukla (1/8/2016)


    In a unique non clustered index, the clustered key comes to leaf level only

    in a non unique non clustered index, the clustered key comes to leaf and non leaf...

    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: CPU question

    mxy (1/8/2016)


    Query runs fast, what does CPU time represent.

    It's the number of milliseconds that the query spent actually executing (as opposed to

    Can we convert that value to 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: CXPACKET very high (average 55 %)

    A couple things

    The waits are cumulative since SQL started. So unless you're taking snapshots and comparing them, a change won't appear to have had any effect because there's all 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: Help need in using condition on join statement

    True, I overcomplicated things a little.

    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: Help need in using condition on join statement

    KGJ-Dev (1/7/2016)


    I am struggling to make it where to put like operator and where to put '%' at the end

    The = should have been a LIKE, sorry about 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: Help need in using condition on join statement

    Look at the two pieces I gave you. The one I said you can't do is what you're trying. So take the one I said you can do (which 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: Help need in using condition on join statement

    The thing to remember is that the output of the CASE statement is an expression, not a piece of code. That is, it's something that you could put after 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: 70-461

    Looking at the score, you probably missed it by one or two questions.

    For aggregates, read up and practice group by, the aggregate functions (sum, count, min, max, etc), practice using...

    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: 70-461

    Siberian Khatru (1/7/2016)


    - Was the test I took a fair representation of what I can expect on my free retest from a subject matter perspective?

    Probably yes. You'll get 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: Query performance question - temporary tables vs. local variables vs. table variables

    Won't be related to TempDB. If it was, the temp table one would have performed badly as well.

    It probably comes down to row estimations. With local variables, the optimiser can't...

    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,871 through 3,885 (of 49,552 total)