Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 6,036 total)

  • RE: Index on table with 70+ million rows

    Sergiy (8/22/2016)


    Do you really have the case when the source table does not have any kind of time stamp or an auto-incremental ID?

    Can you answer this?

  • RE: Re-ordering a Sequence

    The task would become incredibly easy if you change seq data type to decimal(9,1)

    Then you can place the moved step in between of any other steps, or in front of...

  • RE: Optimize update with an index

    What is the PK on this table?

  • RE: Index on table with 70+ million rows

    Do you really have the case when the source table does not have any kind of time stamp or an auto-incremental ID?

  • RE: WHERE clause problem comparing 2 float values

    The 2 values look identical in the query results,

    Query results are shown in some form of decimal representation.

    What you see on the screen might be not the actual numbers in...

  • RE: WHERE clause problem comparing 2 float values

    drew.allen (8/18/2016)


    This is even in the Microsoft documentation.

    Using decimal, float, and real Data


    Avoid using float or real columns in WHERE clause search conditions, especially the = and <> operators. It...

  • RE: Mistakes Columbus made.

    ben.brugman (8/22/2016)


    So my script does not produce the errors your script produces. So your conclusion based on your script and your error is not a valid conclusion. (Even if it...

  • RE: Mistakes Columbus made.

    ben.brugman (8/22/2016)


    **) (Although there are also people who have a strong argument that 1492 and 1500 belong to the same century).

    There is no argument.

    Bottle No.20 is the last bottle of...

  • RE: Quick question on Full-Text Indexes

    SELECT ID

    FROM TableA

    WHERE DateDeleted IS NULL

    AND EXISTS (SELECT * FROM TableB

    WHERE TableB.DateDeleted IS NULL AND CONTAINS(*, @Input)

    AND TableB.TableA_ID = TableA.ID

    )

  • RE: Index on table with 70+ million rows

    Rowan-283474 (8/18/2016)


    Creating and rebuilding indexes on this table obviously takes a long time.

    Does populating the table itself take not so long time?

    I'd start from deciding on an optimal clustered...

  • RE: Parallel insert in a table

    I'd suggest to start from a basic "table partitioning" which was available even back in SQL2000 ages.

    Make sure the clustered index and non-clustered index(es) are on different physical drives.

    And none...

  • RE: Mistakes Columbus made.

    ben.brugman (8/11/2016)


    At the time of Columbus there was no Gregorian calendar, so Columbus does/did not have to account for this.

    Exactly.

    But the functions you use to figure out the days of...

  • RE: Handover file import to user

    Which task you intend to hand over?

  • RE: String or binary would be truncated error.

    And if you comment out the unnecessary last part from the GROUP BY it will even start returning the resultset which seems reasonable:

    SET @Pattern2 = N'

    SELECT transmission_natlang ,modeltrim_name , technical_item_name_natlang...

  • RE: String or binary would be truncated error.

    If only somebody would remember those proper programming technics which are considered nowadays so 20th century!

    One of those ancient rules says - do not use in-code constants, always declare variables...

Viewing 15 posts - 1,246 through 1,260 (of 6,036 total)