Forum Replies Created

Viewing 15 posts - 48,616 through 48,630 (of 49,552 total)

  • RE: Multiple Inserts to same table

    Inserts by themselves should not be able to deadlock. that requires 2 or more commands in a transaction ussually. Is there a trigger on that table?

    You can try setting 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: Select TOP N in a group

    I'm not sure why you're doing a group by without aggregates. Duplicate records?

    Try something like this (2005 specific)

    SELECT

    mile_code, DeltaT, rep

    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: Capturing sql query text

    Are you thingking of the SQL_Text DMV?

    SELECT

    er.session_id, start_time, database_id, st.text

    FROM

    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: trying to update an xml value!!

    I think it has something to do with the schema. When I took the schema definition out of your XML, the select returned one row.

    I haven't had that much expereience...

    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: MCTS 70-431 Down but not out!

    I was supposed to be writing 442 at the end of this month, but it's been postponed to next month due to time constraints.

    I wrote 441 a couple months back...

    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: MCTS 70-431 Down but not out!

    I was supposed to be writing 442 at the end of this month, but it's been postponed to next month due to time constraints.

    I wrote 441 a couple months back...

    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: Profile comments out text when "Password" is in it

    Try catching the Stored Proc: SPStarted event instead of the RPC started event. I know that in 2005 the SPStarted event doesn't filter.

    AFAIK the filtered words are 'password' and 'setapprole'

    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: Database Administration Certification

    I studied for 431 from just Books Online and the Pocket administrator's guide. I took the requirement list from MS site and went through each them one by one.

    That said,...

    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: Statistics Explained

    Interesting. I recall that SQL 2000 would never create multi-column stats. I looked in the 2005 BoL and couldn't find anything that outright stated that it will or won't. I...

    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: Trying to resolve a deadlock issue (TRY-CATCH OR with (nolock) ?)

    Interesting. I wasn't aware of that.

    I would still suggest that you try and find the cause of the deadlock and eliminate it, rather than handling and trying again.

    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: slow down of server

    Profiler is a very good place to start. If you run it during the slow downs you should be able to identify the source of the long duration locks

    Also make sure...

    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: PLZ HELP ME 70-431 dumps

    Using brain dumps is considered cheating and if MS becomes aware of it, they will revoke all your certs and put a lifetime ban on your account.

    If you want 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: Trying to resolve a deadlock issue (TRY-CATCH OR with (nolock) ?)

    I'd suggest you run profiler and catche the deadlock graph event. That will give you a graphical view of what was caused the deadlock, both the one that was picked as...

    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: Statistics Explained

    At their simplest, statistics tell the optimiser the distribution of data in a column (or a set of columns). It can help the optimiser know how many rows to expect...

    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: Statistics Explained

     I am just curious how much time and effort I should put into some of this or if I should just "put my faith in Microsoft" and that DTA knows...

    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 - 48,616 through 48,630 (of 49,552 total)