Forum Replies Created

Viewing 15 posts - 181 through 195 (of 49,552 total)

  • RE: Extended event not capturing queries

    Should do, but it'll depend on exactly how the query is sent.

    Usually I see stuff like this
    (@P1 int) @P1 = 27; SELECT Stuff FROM Table WHERE Column...

    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: Execution plan missing.

    Eirikur Eiriksson - Monday, April 16, 2018 12:20 PM

    Your best option is to do the estimated plan if the actual plan...

    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: Shrinking Transnational Log File

    Raghavender Chavva - Monday, April 16, 2018 9:06 AM

    Now My question is why I am not able to shrink the log file...

    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: Extended event not capturing queries

    Capture the event rpc_completed.

    Batch completed is for ad-hoc batches, like what you run from Management Studio. It won't catch remote procedure calls, which is how applications send parameterised...

    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: PUBLIC server role vs PUBLIC database role

    Database level permissions cannot be granted to a server role.
    Server roles get the server-level permissions (VIEW SERVER STATE, ALTER ANY LOGIN, etc)
    Database roles get database level permissions (SELECT,...

    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?

    jasona.work - Monday, April 16, 2018 6:39 AM

    Luis Cazares - Friday, April 13, 2018 1:17 PM

    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 Server Hardening questions - security catalog views

    That's not the system view sys.objects. Whatever that it, it's in the dbo schema and it's a user table. So, no idea, it's something of yours.Check with your developers, see...

    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 Server Hardening questions - security catalog views

    hurricaneDBA - Monday, April 16, 2018 1:50 AM

    Some of the results which could be troublesome:

    GRANT EXECUTE sys sp_srvrolepermission
    GRANT EXECUTE sys sp_sqlagent_start_job
    GRANT EXECUTE sys sp_sqlagent_stop_job
    GRANT EXECUTE sys sp_revokedbaccess

    Create yourself a user with no permissions and...

    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 Server Hardening questions - security catalog views

    btw, I see 176 permissions granted to Public in a new SQL 2017 database. Not >2000. Could be that someone's granted extra permissions to public in your DB?

    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 Server Hardening questions - security catalog views

    hurricaneDBA - Monday, April 16, 2018 12:52 AM

    .
    Which permissions are usually revoked from the PUBLIC role besides the following as 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: SQL SERVER PEFORMANCE ISSUE

    Most likely the problem is in the asp.net app that's being used to transfer the data. If it's doing it a row at a time, it will be slow and...

    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 Server Hardening questions - security catalog views

    From that page:

    Permissions

    The visibility of the metadata in catalog views is limited to securables that a user either owns or on which...

    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 find which SQL Server process was running at a particular time?

    coolchaitu - Thursday, April 12, 2018 12:43 PM

    GilaMonster - Thursday, April 12, 2018 11:37 AM

    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: High CPU usage % on master database

    patrickmcginnis59 10839 - Thursday, April 12, 2018 11:39 AM

    Also with closer inspection of the script I'm thinking it doesn't even do...

    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 find which SQL Server process was running at a particular time?

    If you did not have something monitoring what was running at that time, then you will no be able to tell what was running at the time.

    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 - 181 through 195 (of 49,552 total)