Forum Replies Created

Viewing 15 posts - 17,551 through 17,565 (of 22,202 total)

  • RE: how to check if stored procedure is currerntly running

    Sure. Check sys.dm_exec_requests. You should be able to get what you need from there or by joining to one of the other execution DMV/F's to prevent a secondary execution while...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/29/2009)


    GilaMonster (4/29/2009)


    Bruce W Cassidy (4/29/2009)


    [font="Verdana"]International Star Wars day... "May the 4th be with you."[/font]

    *groan*

    Hmmm, we were discussing having another Starwars day.....

    Now for something totally the same...

    How many...

  • RE: record insertion

    It's right there in the signature line, The Scary DBA.

  • RE: Logical Scan fragmentation increasing

    It could be something you have to monitor. Do you have an idea as to why you're getting so many page splits? Does the table have a clustered index that's...

  • RE: record insertion

    There are great articles right here on SQL Server Central. Just type something like 'index design' in the search box and then limit the scope to articles. There are a...

  • RE: T -Sql 2005: Calling multiple Sprods in single Sprod using RETURN Help

    You can take advantage of the default return value from procedures like this (untested code):

    DECLARE @retval int

    EXEC @retval = ProcA @param1='a',@param2='b'

    IF @retval = 0

    BEGIN

    EXEC ProcB

    EXEC ProcC

    END

  • RE: Logical Scan fragmentation increasing

    How much data is in the table, specifically how many pages?

    For very small tables, less than 10 pages, you might not see any change in fragmentation, even after a rebuild...

  • RE: Bad plan getting cached - due to StatementOptmEarlyAbortReason=timeout?

    Yeah, that sounds familiar. I'd suggest recompiling after the data load and avoid using query hints. Since you know it's going to happen, take care of it that way. Also,...

  • RE: record insertion

    Without details it's not possible to give you specific advice. In general, make sure you have a clustered index on the table. Make it as narrow as you can, but...

  • RE: How and where to start SQL DBA training

    Track down a copy of Brad McGehee's "How To Be An Exceptional DBA." It's a great read. For a fantastic introduction to the concept of being a DBA, I recommend...

  • RE: Stored Proc Activity-Usage

    You need to use a server-side trace. You can build this manually using the T-SQL commands or you can use the SQL Profiler tool to build it for you. This...

  • RE: T-SQL query vs same query in SP performance issue

    Thanks for posting the answer. It's always good to know when I got something right.

  • RE: Are the posted questions getting worse?

    Bruce W Cassidy (4/28/2009)


    [font="Verdana"]This morning I had an idea. After I had had a bit of a sit down to recover from that novel feeling, and to reassure myself...

  • RE: Index

    There are several articles on Gail Shaw's blog[/url]. There are several good articles here on SQL Server Central, just search in the window in the upper right. For real depth...

  • RE: Are the posted questions getting worse?

    GilaMonster (4/28/2009)


    Grant Fritchey (4/28/2009)


    Hmmm... Now I am confused.

    You and me both. I started writing a blog post on this, explaining that there could be serial and parallel plans in cache....

Viewing 15 posts - 17,551 through 17,565 (of 22,202 total)