Forum Replies Created

Viewing 15 posts - 24,991 through 25,005 (of 49,552 total)

  • RE: Want to restrict DBOWNER to Drop database

    Welsh Corgi (7/10/2011)


    george sibbald (6/22/2011)


    why don't you want to use a DDL trigger?

    I was wondering how you can prevent a member of the db_owner from from disabling or altering 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: backup timing out on log file

    While it's running check sys.dm_exec_requests and see what it's blocked by (wait type and wait resource). Also check that there isn't another concurrent log backup running.

    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: ReCompilation of Stored proc and Function

    As far as I know, it depends on the type of the function. Inline table valued functions don't have cached plans, they're treated just like parameterised views. I think 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: Delete statement for records with multiple FK

    Not on the delete but...

    You have multiple begin tran statements and no commits. You need a commit transaction for each begin transaction. I would suggest rather a single begin tran...

    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: Migrating sql server logins

    SVR (7/9/2011)


    Thank you. I tried the second method . But I did not realize I have to transfer the logins first to 2005. I was trying to to transfer 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: error 18452

    Well that's pretty clear.

    Use an account that is in a trusted domain or speak to the domain admin about adding a trust relationship.

    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: The RECOMPILE Options

    Grubb (7/7/2011)


    Thanks for the links, Steve!

    As an aside, Gail is teaching an entire class on Execution Plans at this year's PASS conference: http://www.sqlpass.org/summit/2011/Speakers/CallForSpeakers/SessionDetail.aspx?sid=1245

    Minor correction. Grant and I are teaching 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: error 18452

    Check the error log for the detail of the error.

    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: error 18452

    Does the administrative account you're using have access to SQL? It's no longer a default that all administrative accounts are sysadmin.

    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 OUTER JOIN query is slow

    pdanes2 (7/9/2011)


    GilaMonster (7/9/2011)


    pdanes2 (7/9/2011)


    How do YOU deal with possible overflows of text input? Same logic in the front-end as in the database? Wait for the DB to throw an error?

    Validation...

    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?

    LutzM (7/9/2011)


    If I would have to stop on a highway (or Autobahn as we call it over here) other than because of a traffic jam, I'd immediately run and jump...

    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 OUTER JOIN query is slow

    pdanes2 (7/9/2011)


    How do YOU deal with possible overflows of text input? Same logic in the front-end as in the database? Wait for the DB to throw an error?

    Validation 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: Are the posted questions getting worse?

    ALZDBA (7/9/2011)


    Even a simple - and polite - 4 way stop wouldn't work over here :hehe:

    General rule of thumb for driving Belgian style: "There's only I and the rest 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: Multiple OUTER JOIN query is slow

    pdanes2 (7/9/2011)


    Only if it actually exceeds that, no? As long as the data is less than 8K, it will work like any other varchar data, according to what I've been...

    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: Retrieve meta-data for information_schema

    The information_schema is ISO-standard. Hence, if MySQL correctly implements the ISO standard the schemas will be identical.

    However if you do what to check, this shows the definitions of 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

Viewing 15 posts - 24,991 through 25,005 (of 49,552 total)