Forum Replies Created

Viewing 15 posts - 5,041 through 5,055 (of 49,552 total)

  • RE: Database Mirroring and User Access

    You need to create the login with the same SID on each server. The login-to-user mapping is on SID, not name.

    Get the script sp_help_revlogin from Microsoft (a search will turn...

    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 Model database files missing, inaccessible or corrupt - The SQL Server Instance That Will not Start

    What's the command line you're using to start SQL, and what's in the rest of the error 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: issue with or statement

    WHERE StateCodeName = 'Open' AND

    (SalesStageCode = 1/* DISCOVERY */

    OR SalesStageCode = 121370000 /* PROPOSAL */

    OR...

    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: Login failure - unable to connect to sql server using windows authentication

    It's nothing to do with the logins themselves or their permissions.

    SQL can't contact a domain controller to verify the login token it was passed. Speak with your network/domain admin.

    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: Checking Existence of Row Prior to Insert

    Because it doesn't check prior to inserting the second record. It checks prior to starting the insert. The way an insert works (has to work) is that the rows 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: Permissions needed to see server properties?

    It is not. By default public has VIEW ANY DATABASE (which means they can see the names, not that they have access to them) and CONNECT on all endpoints. That's...

    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: Permissions needed to see server properties?

    VIEW SERVER STATE

    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: Think SQL Injection is No Longer a Threat?

    Because people who don't know what they're doing write blog posts/articles showing what little they know (eg login forms with plain text passwords and SQL injection vulnerabilities) and they get...

    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 found 0 allocation errors and 2 consistency errors in database

    In general you want to run CheckDB with the NO_INFOMSGS option. That removes all of the 'x rows in y pages in table z' messages, meaning the errors are very...

    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: Multiple instances on one server, or one per server, all VM

    chuck.forbes (8/11/2015)


    Does that sound like it's an unreasonably low amount of RAM, assuming for now that this is the only database that will live on this server?

    Very hard 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: DBCC FREEPROCCACHE impact on performace

    It's probably parameter sniffing. Google that term if you want to learn more on your own, if you want help fixing the problem please post the stored procedure here, along...

    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?

    Ed Wagner (8/11/2015)


    Lynn Pettis (8/11/2015)


    SQLRNNR (8/11/2015)


    Ed Wagner (8/11/2015)


    Sean Lange (8/11/2015)


    Grant Fritchey (8/11/2015)


    Sean Lange (8/11/2015)


    OMG. I just ran across this in a database from a 3rd party. There are actually 50...

    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: Multiple instances on one server, or one per server, all VM

    My preference is one per VM. The resource and security separation you get from two instances on the same VM is limited. You can get much better separation by putting...

    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 (8/11/2015)


    GilaMonster (8/11/2015)


    SQLRNNR (8/11/2015)


    GilaMonster (8/11/2015)


    And in unrelated news, something of moderate interest might be happening this afternoon/tonight (depending on timezones). Watch twitter.

    Is it this?

    http://bit.ly/GailMastersBurnout

    Yup.

    4 odd years ago[/url]:

    Other than possible 24...

    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 (8/11/2015)


    GilaMonster (8/11/2015)


    And in unrelated news, something of moderate interest might be happening this afternoon/tonight (depending on timezones). Watch twitter.

    Is it this?

    http://bit.ly/GailMastersBurnout

    Yup.

    4 odd years ago[/url]:

    Other than possible 24 Hours of...

    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 - 5,041 through 5,055 (of 49,552 total)