Forum Replies Created

Viewing 15 posts - 2,581 through 2,595 (of 6,486 total)

  • RE: How to Identify in how many Storedprocedures hasa sp been called?

    The most direct way I know of is to look at the "Object Execution Statistics". It will give you execution stats on all executable objects including among others, how...

  • RE: Simple Cursor taking close to 4 minutes how can I fasten this up

    Thanks for the feedback!

    Just remember - they're EVIL!!!! (cursors) 😀

  • RE: @@rowcount with sp_send_dbmail

    You should be getting a syntax error based on your syntax, since you are missing a quote in the sp_send_dbmail call......

  • RE: SQL Server Gods/Exterminators

    I do know for a fact that there are several on this board. I won't speak for them, but I wouldn't be surprised if you should hear from a...

  • RE: Simple Cursor taking close to 4 minutes how can I fasten this up

    Welcome to the hell we call...cursors.

    Cursors will torpedo your performance faster than damn near anything else I can think of. Since SQL Server is built to apply changes in...

  • RE: A Lack of SQL

    Grant Fritchey (9/15/2008)


    Matt Miller (9/15/2008)


    Make sure to go after the multi-threaded aspect of testing. Meaning load-testing with single threads or single connections won't show some of the real uglies...

  • RE: How do I remove the temp table from this query

    ...and again (like Grant was trying to say) - if you were to replace #AD In Lynn Pettis' example above with the query you use to create it, you wouldn't...

  • RE: use result of sql query for conditional statement

    I'd just expand the package a little, using a conditional split. Assuming your condition is true then exit, otherwise go down the brank that has all of the preexisting...

  • RE: ISNULL changing my Trues to False for Boolean Field

    Looks to me that you just have to move the parenthesis, as in:

    ISNULL(DC_P_ACTIVE) ? FALSE : DC_P_ACTIVE

  • RE: A Lack of SQL

    Grant Fritchey (9/15/2008)


    Jeff Moden (9/15/2008)


    Must be the same "sun" our guys are singing to. I talked with a couple of the more senior C# developers at this new job...

  • RE: A Lack of SQL

    Jeff Moden (9/15/2008)


    Grant Fritchey (9/15/2008)


    One thing I'm aware of in our organization, and I think it's universal. Object oriented developers loathe TSQL. I've watched blood pressures visibly rise in meetings...

  • RE: T-SQL Code Review

    Agreed (not much in the way of "good" automated code review).

    that being said - given the number of objects you need to review - it may be worth focusing in...

  • RE: Integer or String data type for primary key

    garethmann101 (9/15/2008)


    Ok but will the B-tree structure be less efficient with string rather than numeric data types?

    A B-tree is a B-tree. It's not an easy question to answer, since...

  • RE: A Lack of SQL

    Ron Kunce (9/15/2008)


    Without having much in way of a formalized change management system and in a diverse shop with multiple, yet related, database servers and databases, we have a definite...

  • RE: Integer or String data type for primary key

    garethmann101 (9/15/2008)


    I would be inclined to keep it in string format so as to not lose what may turn out to be important info in the future.

    But one final concern:

    If...

Viewing 15 posts - 2,581 through 2,595 (of 6,486 total)