Forum Replies Created

Viewing 15 posts - 1,666 through 1,680 (of 7,484 total)

  • RE: Disabling Indexes

    Nice question.

    To me it seems rather obvious that if you disable the clustered index then no other index on the table will work because all the other indexes identify rows...

  • RE: The Multi-skilled Developer

    Jeff Moden (6/5/2015)


    You don't have to win to plant a seed. Even a cement parking lot, like your Dev Guy, has a crack in it. 😉

    Great article, though....

  • RE: The Multi-skilled Developer

    Certainly that dev guy had it hoplessly wrong, but you too have it wrong - not hopelessly wrong, but somewhat wrong.

    During much of my career I've had...

  • RE: how to split the time column values into rows in sql server 2008R2

    You are being too complicated, this is actually quite simple.

    This works for the data you have posted:

    --create test data

    set dateformat dmy ;

    create table #tim (start datetime2, end1 datetime2);

    insert #tim values...

  • RE: Are the posted questions getting worse?

    Alan.B (6/3/2015)


    TomThomson (6/3/2015)


    Luis Cazares (6/3/2015)


    Eirikur Eiriksson (6/3/2015)


    SQLRNNR (6/3/2015)


    Lynn Pettis (6/2/2015)


    SMH...

    Why would the person who wrote the procedure ask on a public forum why his procedure is returning a value of...

  • RE: Default Constraint Script

    Robert Eder (6/4/2015)


    Sean Lange (6/4/2015)


    Robert Eder (6/4/2015)


    The problem with script A is the constraint name will be system generated. Script B is also written to use a system generated...

  • RE: Primary Key / Index Question

    Braindead comment removed. Must remember to switch brain on before applying fingers to keyboard.

  • RE: Filtered Indexes 2

    SQL-DBA-01 (6/5/2015)


    Filtered indexes are defined on one table and only support simple comparison operators. If you need a filter expression that references multiple tables or has complex logic, you should...

  • RE: Default Constraint Script

    I dislike script B intensely (too verbose and splitting one operation into two without wrapping a transaction around them). Pity it's what I've become used to getting (in fact...

  • RE: Are the posted questions getting worse?

    Luis Cazares (6/3/2015)


    Eirikur Eiriksson (6/3/2015)


    SQLRNNR (6/3/2015)


    Lynn Pettis (6/2/2015)


    SMH...

    Why would the person who wrote the procedure ask on a public forum why his procedure is returning a value of -6 when...

  • RE: Are the posted questions getting worse?

    It might be nice if an expert on indexes could look at this one. I've made a stab at it, but I'm not confident that I've got it...

  • RE: Primary Key / Index Question

    Thanks for teh extra informtion. Having seen that I think I would go for using UploadID as UNCLUSTERED primary key and have a CLUSTERED index with key (PeriodNo, UploadType)....

  • RE: Primary Key / Index Question

    I could make a wild guess but my best answer, since you haven't provided enough information to do more than just guess, is "it depends".

    Some of the questions that need...

  • RE: Pounds of Formatting Fun

    Nice straightforward question. Don't know why it should be two points, though. 🙂

    Of course the second reference in the explanation is a lovely illustration of the sheer awfulness of...

  • RE: TIME Datatype

    Nice, straightforward question.

    Perhaps rather easy, as it would be appallingly bad language (type system) design if either of the other options were correct instead of this one.

Viewing 15 posts - 1,666 through 1,680 (of 7,484 total)