Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 3,348 total)

  • RE: Foreign Key Fun

    From the explanation:

    (there isn't any good reason for this, as the target of the foreign key isn't in a temp table, but for some reason temp tables are not allowed...

  • RE: Stairway To SQL Server Columnstore Indexes Level 1: A First Look At Columnstore Indexes

    bill-kline (2/25/2015)


    Has the Database Tuning Advisor been updated to potentially recommend columstore indexes?

    No.

  • RE: Stairway To SQL Server Columnstore Indexes Level 1: A First Look At Columnstore Indexes

    Sean Woehrle (2/25/2015)


    Hugo,

    This is a great article. Just FYI we skipped over 2012 for column store indexes since we didn't want to drop and rebuild the indexes...

  • RE: Empty TABLE

    mwpowellhtx (2/20/2015)


    So in the instance of execution plans, its not truly columnless table, but rather rowless table (view, etc). i.e. for outer joins...

    No, no, you misunderstand. A rowless table is...

  • RE: Empty TABLE

    Raghavendra Mudugal (2/13/2015)


    Thank you for the post, very interesting one.

    (so, 63 people thought that they can create a table with no cols; if this becomes real, I am not sure...

  • RE: Using a column name in a COUNT function

    Charles Kincaid (2/4/2015)


    IF I were looking for the number of rows in a table without regard to the contents of the rows I would not use COUNT at all. ...

  • RE: Detaching restrictions

    Based on how database snapshots work, it was obvious that this had to be one of the restrictions. That immediately narrowed my options down to just one choice.

  • RE: SOME rows

    To all the people who responded that they are happy to have learned the SOME operator ... please unlearn it, as soon as possilble.

    Every expression with SOME (and its companions...

  • RE: The PIVOT

    Sean Lange (1/27/2015)


    Luis Cazares (1/27/2015)


    Carlo Romagnano (1/27/2015)


    Raghavendra Mudugal (1/27/2015)


    Carlo Romagnano (1/27/2015)


    Strange, but the version with PIVOT is a bit slower than that with GROUP BY. See execution plan!

    ...

    actually I...

  • RE: Replication Filters

    Raghavendra Mudugal (1/26/2015)


    Thank you for the post, Steve, very interesting one.

    Row filters in transactional publications can add significant overhead because the article filter clause is evaluated for each log row...

  • RE: Distinct Counts

    DTML (1/25/2015)


    My apologies Hugo - it appears the ANSI_NULL_DEFAULT was not at all the problem - it was the fact that I had a previous MYTABLE in my system which...

  • RE: Distinct Counts

    DTML (1/23/2015)


    Perhaps you or someone else can clarify the following for me? Using the 2012 AdventureWorks database:

    a) I ran the CREATE TABLE script as it is in the QoD and...

  • RE: COUNT NULLs

    g.britton (1/23/2015)


    So, long story short:

    1. Looking at an execution plan is not a good way to draw conclusions on the meaning of SQL language elements. They are defined in the...

  • RE: COUNT NULLs

    g.britton (1/23/2015)


    You're guessing and hoping you are right, but you are wrong. The execution plan proves it.

    In SQL, you need to make a distinction between the definition of the language,...

  • RE: Getting Distinct

    pmadhavapeddi22 (1/23/2015)


    I know that select count(distinct *) does not work, but i am still not clear on one point,

    The statement could have given the result like (count of all...

Viewing 15 posts - 1,381 through 1,395 (of 3,348 total)