Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 8,416 total)

  • RE: difference between index scan, index seek and table scan

    You can tell that's a very old entry - the description of how a heap scan works is wrong!

  • RE: Problems With Update

    Jeff Moden (11/15/2010)


    I have no idea how I got it to work before but I did get it to work and I can't find the code to prove it and...

  • RE: Data Loading Performance issues

    Scott,

    The good news is that you are seeing minimal logging, but read on.

    Minimal logging means that SQL Server does not log the individual row changes; it logs changes to pages...

  • RE: Issues in Identity Column

    RichardDouglas (11/15/2010)


    Paul White NZ (11/14/2010)


    Saravanan_tvr (11/12/2010)


    ...how can we update the values in identity column?

    Delete the row and then re-insert it with the correct identity value specified explicitly.

    You will need SET...

  • RE: Issues in Identity Column

    GSquared (11/15/2010)


    If you use OUTPUT INTO in the delete, the insert will be part of the same transaction.

    How do you know the target table does not have enabled triggers, check...

  • RE: 2 questions... first x > '' vs x <> ''

    GSquared (11/15/2010)


    Paul: I'm not sure that a new value other than null, for "no value", would be more confusing to people than the current "null" issues.

    Well I suppose there are...

  • RE: Data Loading Performance issues

    shump66 (11/15/2010)


    Thanks for the time I will pull the plan for you and test your script in my environment

    I'll look forward to it.

  • RE: Computed Columns

    Code to demonstrate the issue, and show that UDFs that access data cannot be persisted:

    CREATE TABLE dbo.Data

    (

    ...

  • RE: Computed Columns

    ningaraju.n (11/10/2010)


    Is there a way to reference columns of other table in computed columns except triggers?

    You could use a UDF that references the other table, but please don't. Functions...

  • RE: Execution plan

    Dave Ballantyne (11/15/2010)


    I believe the difference here is in the hash match operation , in your version it is matching on 2 columns and in Jeff's 1 column. Hash...

  • RE: Execution plan

    tommyh (11/15/2010)


    I did figure it would be partly because of the much larger dataset. I had just assumed that something in the execution plan regarding cost (CPU/IO/Operator) would differ more...

  • RE: is there any way to send the variable to DROP TABLE statement

    DECLARE @ToDrop SYSNAME,

    @sql NVARCHAR(MAX);

    SET @ToDrop =

    ...

  • RE: Execution plan

    There are a number of differences, but the three most important are:

    1. In the Compute Scalar immediately above the Clustered Index Scan, the plan with the extra GROUP BY...

  • RE: Which is faster?

    Definitely: Create the table with IDENTITY property and (only) the Clustered Index before loading. Ensure the destination database is in BULK_LOGGED or SIMPLE recovery (to enable minimally-logged bulk load).

    Configure...

  • RE: Duplicate Index Performance

    upstart (10/27/2010)


    Would you ever want to have a Non-Clustered and Clustered Index that are the same? For some reason, I inherited several tables that have NC and C indexes...

Viewing 15 posts - 2,371 through 2,385 (of 8,416 total)