Forum Replies Created

Viewing 15 posts - 31 through 45 (of 209 total)

  • RE: Positive or Negative

    RonKyle (10/23/2015)


    That's perfectly fine. It relates to the individual record. Where's the denormalization in that?

    You have two indicators for the same thing: the flag, and whether the date...

  • RE: Positive or Negative

    Eric M Russell (10/23/2015)


    I've found a Date type is more useful for indicating active / inactive status. I want to know when, not just if, a row changed to inactive...

  • RE: Positive or Negative

    angel-626714 (10/23/2015)


    I would also have a column for the date and time it became inactive.

    Denormalisation alert 🙂

  • RE: Positive or Negative

    Henk Schreij (10/23/2015)


    Not exactly an answer to the question, but I use a field named State, Status, or Condition.

    VARCHAR(1), Default '' (an empty string).

    I fill this field with a Char...

  • RE: Positive or Negative

    The negative form leads to difficulties with double negatives (if isInactive = 0). The positive form is much clearer.

  • RE: Logging and Error Handling for SQL Stored Procedures

    Orlando Colamatteo (9/18/2015)


    david.wright-948385 (9/18/2015)


    A CLR is efficient as long as the connection object is cached.

    That would take some additional engineering to avoid creating a bottleneck and also to release unused...

  • RE: Logging and Error Handling for SQL Stored Procedures

    Orlando Colamatteo (9/18/2015)


    I would like to see autonomous transactions be added to the engine...

    That would be ideal.

  • RE: Logging and Error Handling for SQL Stored Procedures

    Orlando Colamatteo (9/18/2015)

    You could also use OPENROWSET...

    As you say, OPENROWSET is very inefficient. A CLR is efficient as long as the connection object is cached.

  • RE: Logging and Error Handling for SQL Stored Procedures

    allarmi (1/21/2014)


    hello, thank you for your work.

    i'm still looking for a transaction independent way of logging the activity going in an arbitrary number of procedures regardless of their nesting level...

  • RE: Would You Pay To Wear Jeans?

    I can see the benefit for charities, but in its raw form the whole thing looks like cynical manipulation by the company. They get to reinforce their dress code, but...

  • RE: DBA vs. Developer Question / Issue

    A senior dev doesn't necessarily have the upper hand over a junior DBA. She has a different set of priorities to you, and in this case the structure of the...

  • RE: Your Tools

    The limiting factor for me is the cost. I've bought some, but the tools we're talking about cost corporate-scale amounts of money, and it takes a lot of justification to...

  • RE: Burnout

    I don't know what to say - I just can't take it any more!! :hehe:

  • RE: The Last Job

    Are you looking for a raise Steve 😉

  • RE: Estimates

    crussell-931424 (9/9/2014)


    I hate estimates because they tend to be how long it would take to do something and we never seem able to dedicate that time to the project. There...

Viewing 15 posts - 31 through 45 (of 209 total)