Forum Replies Created

Viewing 4 posts - 46 through 50 (of 50 total)

  • RE: Updating a table

    If you drop the index on the view before running the update query, does this reduce the time taken? Does the column you are updating participate in the clustered...


    Cheers,
    mia

    Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.

  • RE: Select with variable assignment

    Given that particular example, I think the only way to do this is with dynamic SQL using sp_executesql which accepts as parameters the SQL string to execute, a string listing...


    Cheers,
    mia

    Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.

  • RE: Dynamic SQL Queries

    I don't know whether it's a recommended practice or not, but sp_executesql requires a Unicode constant or variable. If a constant is specified, it has to be prefixed with...


    Cheers,
    mia

    Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.

  • RE: Summing columns horizontally

    You can create a computed column in a create or alter table statement.

    E.g.

    (Replace the word plus with a plus sign - its not showing when I preview


    Cheers,
    mia

    Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.

Viewing 4 posts - 46 through 50 (of 50 total)