Forum Replies Created

Viewing 15 posts - 27,391 through 27,405 (of 49,552 total)

  • RE: History of trigger

    select * from fn_trace_gettable( <trace filename> , <number of rollover files to read> )

    You can get the name by querying sys.traces

    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: History of trigger

    You could check the default trace, I'm not sure if enabling/disabling triggers is in there. It's also not a long-term history. SQL rolls the files over once they get too...

    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: When not to like LIKE

    This is at play: http://sqlinthewild.co.za/index.php/2008/02/25/parameter-sniffing-pt-2/

    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 Interview Questions And Answers

    Randheer (3/13/2011)


    check out basic interview questions on http://sqlserverquest.blogspot.com

    You might want to check the accuracy and readability before you go promoting those questions for people to use in interviews.

    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: Deleting logon trigger.

    Server Objects -> Triggers for server level triggers, Programability -> Database triggers for database scoped triggers.

    My guess, on the failed drop you left off the 'ALL 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
  • RE: SQL 2005 standard Check Database Integrity maintenance plan fails

    The message about user options is not an error, it's just an informational message.

    Is there no other information anywhere?

    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: Deleting logon trigger.

    And what code are you using to drop 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: Simple recovery model

    Other than the few operations that can be minimally logged (see Books Online, Operations that can be minimally logged), it fully logs everything. So most inserts, all updates, all deletes...

    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: Need Best Maintenance plan

    Attaf_T (3/13/2011)


    1- Is (Shrink database or Shrink files) speed up the queries or update ?

    No. Generally it will sow queries down due to fragmetnation

    2- Is (Shrink database or Shrink...

    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: Brand new deployment: 3 part question...

    Rich Yarger (3/12/2011)


    Gail - great question, and one I was able to develop around because of an interview you gave not that long ago (on the Dos and Don'ts with...

    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: Why Sql Server fails to use index?

    Jeff Moden (3/12/2011)


    ...because you can't rebuild nonclustered indexes unless there's a clustered index on the table.

    ????

    You can't rebuild the table (to eliminate forwarding pointers or compact pages) if there's no...

    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: Brand new deployment: 3 part question...

    Just one last point

    Rich Yarger (3/12/2011)


    - tempdb: He's all by himself out on the RAID 0 drive, because - he's tempdb. If the drive crashes, then so...

    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: Why Sql Server fails to use index?

    Where's the clustered index? Any reason the PK was made nonclustered?

    Can you post the execution plan please?

    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: Brand new deployment: 3 part question...

    Rich Yarger (3/12/2011)


    I guess I was thinking that more space was better than too little. I plan to include this fact in my documentation for the project, so they...

    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: Brand new deployment: 3 part question...

    Rich Yarger (3/12/2011)


    By this I mean, what should the starting sizes be for master, msdb, model, and temp.

    Master, model and msdb you can leave at...

    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 - 27,391 through 27,405 (of 49,552 total)