Forum Replies Created

Viewing 15 posts - 76 through 90 (of 105 total)

  • RE: Counting Classes

    First query has an extra ; before ORDER BY, just a comment.

  • RE: Column aliases

    I've read the post and he says: "(I've ignored [alias] and "alias" variations for brevity.)". So even when he's talking about six different ways he was also admitting there are...

  • RE: Insert without a PK

    Hany Helmy (6/10/2015)


    Now we all agree that the 1st row will be inserted & there is absolutely nothing in the code will disable the indexes, so the next question is:...

  • RE: Insert without a PK

    I wanted to have all green checks in my QOTD list and now I've got a red cross!

  • RE: Insert without a PK

    Louis Hillebrand (6/10/2015)


    After running the first script the table has 2 indexes, A unique non-clustered on SalesId (PRIMARY KEY) and a clustered on SalesId.

    The first insert inserts one row, the...

  • RE: Default Constraint Script

    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)

    May 14 2014 18:34:29

    Copyright (c) Microsoft Corporation

    Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

  • RE: Default Constraint Script

    SQL 2012, I've got Script B and A.

  • RE: How long do they last?

    One of the most interesting questions I've seen. Thanks for that!

  • RE: Legal/illegal characters in table name

    +1

    I was going to write exactly the same 🙂

  • RE: Remove data from tables

    Toreador (3/5/2015)


    Even ignoring the typo/mistake, the explanation is totally wrong. It is nothing to do with whether the statements are logged, and it is common incorrect) myth that TRUNCATE TABLE...

  • RE: Remove data from tables

    I only marked option F). Option D) has a wrong syntax. It should be delete from BBB; delete from AAA;

  • RE: Alter table performance

    Jeff Moden (1/19/2015)


    Mauricio_ (1/19/2015)


    Yes, test is the best, I agree. The only problem is that I underestimated the size of the table, it has 3 billion rows.

    That's gonna leave...

  • RE: Alter table performance

    Yes, test is the best, I agree. The only problem is that I underestimated the size of the table, it has 3 billion rows.

  • RE: What will be the output message?

    You're right, Koen.

  • RE: Unpivot

    mluszczynski (10/16/2014)


    I'm not going to complain about missing points because guess what, I've got a point by posting this.

    Good point 😉 but that won't fix your stats. I would prefer...

Viewing 15 posts - 76 through 90 (of 105 total)