Forum Replies Created

Viewing 15 posts - 21,451 through 21,465 (of 22,184 total)

  • RE: Page lookups per sec high

    BOL should give you most of what you need.

    I strongly recommend using the TSQL commands to run the profiler job, not the gui. I also recommend placing the output...

  • RE: Suggestions for Avoiding Timeouts

    I didn't see it, so I'd add the TextData column as well. Other than that, you've covered the basics.

  • RE: Suggestions for Avoiding Timeouts

    You don't need the Profiler gui. Actually, better still if you don't have it. There are several ways you can get the scripts, including generating them locally through your own...

  • RE: Suggestions for Avoiding Timeouts

    Gather statistics on both sides of the equation. Guessing or pointing at various bad signs won't help. You need a reasonably thorough picture of what is occurring. For example, do...

  • RE: view multiple input

    Two options, write a function that takes the comma delimited list and turns into a table or pass the list in as XML and use OPENQUERY or XQuery to join...

  • RE: Suggestions for Avoiding Timeouts

    It's most likely the server, but I'd gather some information to back yourself up. Use profiler to get a days worth of data, hopefully including a timeout or two. Go...

  • RE: Page lookups per sec high

    Have you run Profiler to identify the poor performing processes? If not, I'd do that right away. You say it's a third party vendor. Once you've identified badly behaved procedures,...

  • RE: How to Parse the query...???

    Gail gave it to you

    SET NOEXEC ON

    Put that in front of the query with a semi-colon seperating it from your code. This works against Adventureworks:

    SET NOEXEC ON;

    SELECT * FROM...

  • RE: Why upgrade from SQL 2000 to SQL 2005?

    Just a quick clarification, 2008 isn't supposed to ship until Q2 2008. Personally, I wish they'd wait until Q4, 2009.

  • RE: How to Parse the query...???

    If you want to parse it from your client, use the code that Gail provided from there.

  • RE: Suspect Database

    First try running DBCC CHECKDB(). From the sounds of things, that'll probably fix it. If not, you've got work to do. Can you restore it from backup? If not, you...

  • RE: Select three oldest records for updating?

    And wrap it all in a transaction.

    Also, make sure you include the old data values in the update statement. That way, if the second call manages to get the same...

  • RE: Using fields as columns to display the data in a different format

    It's already in the script, but it doesn't look right to my (very untrained regarding PIVOT/UNPIVOT) eye.

  • RE: SCOPE_IDENTITY Puzzle

    Vika (11/26/2007)


    "And it doesn't happen very often but when DB is hit hardest. What is deadlock, what happens during deadlock?

    A deadlock is when two processes are in contention for the...

  • RE: User processes on Suspended status

    I think you mis-pasted the results there. You should see a session_id. I know you can identify the blocked session id. From that, you look at the wait_type column to...

Viewing 15 posts - 21,451 through 21,465 (of 22,184 total)