Forum Replies Created

Viewing 15 posts - 151 through 165 (of 203 total)

  • RE: COUNT_BIG

    ravindraee24 (3/10/2010)


    why SELECT COUNT_BIG(*) not return same result????????????

    i hope:cool: 1,2,and 3 are correct

    There is an explanation by sknox on page 2 of this discussion, which clearly explains why 2 and...

  • RE: Primary Keys

    Lynn Pettis (3/10/2010)


    No assumptions needed. If you look at the syntax for creating a PRIMARY KEY, the default may be to create a clustered index, but that is not...

  • RE: COUNT_BIG

    sistemas 95572 (3/9/2010)


    Thank you Oleg, I am curious about uniquely identifying rows in tables w/o PKs (sorry about the off topic).

    I mean, as I understand from your explanation there is...

  • RE: COUNT_BIG

    sistemas 95572 (3/9/2010)


    Hey pal,

    what do you mean by volatile rowid from the heap?

    Check a couple of posts upstairs, i pointed out the case of a full nulled row, but wasn't...

  • RE: COUNT_BIG

    sjimmo (3/9/2010)


    Oleg,

    Thanks for the explanatin. You're right - I did not have any nulls.

    Looks like I am getting the credit I don't deserve :w00t:. The original explanation was posted by...

  • RE: COUNT_BIG

    CirquedeSQLeil (3/9/2010)


    Nice explanation and test setup Oleg.

    Thank you Jason.

    I wish the day will come when somebody will explain to me how to properly format the results output when including...

  • RE: COUNT_BIG

    sknox (3/9/2010)


    sjimmo (3/9/2010)


    Good question - Thought that I knew the answer, and was wrong. Now, I have a question. I ran the following against an existing database to prove/disprove the...

  • RE: Sparse Columns

    ziangij (3/5/2010)


    sorry for sounding stupid, but has anybody implemented sparse in his/her code ?

    what was the reasoning behind.. is it really worth ?

    Implementation of the sparse column makes sense only...

  • RE: Counting spaces with datalength

    Fal (3/3/2010)


    benkoskysa (3/3/2010)


    ... I used a database where the sys.master_files table was empty...

    Well, it can't be empty. At the very least you can expect 8 rows from a brand-spankin'...

  • RE: How many rows are returned from the query below?

    I think that this was an OK QoD, maybe a bit too easy to deduce the correct answer, but not every question of the day has to be complex. On...

  • RE: Optimization

    vk-kirov (3/1/2010)


    Oleg Netchaev (3/1/2010)


    there are a couple of records inserted into the system tables when the procedure is created. The procedure name is inserted into sysobjects and the text of...

  • RE: Optimization

    vk-kirov (3/1/2010)


    skjoldtc (3/1/2010)


    If stored procedures are never saved to disk

    The explanation says that stored procedure plans are never saved to disk. Of course, stored procedures themselves are saved to disk,...

  • RE: Optimization

    skjoldtc (3/1/2010)


    If stored procedures are never saved to disk, why do you have to bother compiling them? This is a misconception (or misunderstanding by me) on my part. I'm still...

  • RE: SARGable

    Tao Klerks (2/26/2010)


    Hmm, I was more bothered by the fact that NOT IN() is assumed to NOT be SARGable... In SQL 2000 this was always true when there was more...

  • RE: SSRS timeout

    As far as the SqlCommand is concerned, there is only one way to set the timeout such that report does not time out - set it to zero. In other...

Viewing 15 posts - 151 through 165 (of 203 total)