Forum Replies Created

Viewing 15 posts - 61 through 75 (of 388 total)

  • RE: How to compare data between two tables and update changes only

    Thanks Michael, I realize this is a risky statement. Thanks for your sample. On the other hand I don't think there will be 5 million rows of data sent in...

    ...and your only reply is slàinte mhath

  • RE: ODBC issue: Unable to see non-default db in system dsn

    Thanks for sharing this.

    Piotr

    ...and your only reply is slàinte mhath

  • RE: Multi Line Net Send

    Maybe try char(13) + char(10) - '\r'

    Piotr

    ...and your only reply is slàinte mhath

  • RE: How to compare data between two tables and update changes only

    Hi,

    Yes, this is one of the options. You can load everything to a staging table and then update rows that do exist in the target table and insert the rest....

    ...and your only reply is slàinte mhath

  • RE: using if...then on one RS, to get output from another RS in an SP

    Sorry, but it sounds to me like a bad design idea. If you want to return different rowsets (columns, data types) from a procedure depending on the input, how will...

    ...and your only reply is slàinte mhath

  • RE: DB instance changes

    Hi,

    If you have code that references two databases on single instance, moving one of them to another instance will likely cause troubles. You will have to look at linked servers...

    ...and your only reply is slàinte mhath

  • RE: DDL log

    Great 🙂

    ...and your only reply is slàinte mhath

  • RE: DDL log

    @piotr: yes, but with the EXECUTE as you enter the realm of the permissions and how they are chained. Imagine any user was able to use execute as...

    ...and your only reply is slàinte mhath

  • RE: DDL log

    Have you tried creating the trigger with EXECUTE AS clause? You might try to run it as sysadmin or some other login that has access to relevant databases.

    Regards

    Piotr

    ...and your only reply is slàinte mhath

  • RE: Slow execution time on query who perfoms Updates

    Why don't I see then actual rows counts? 🙂

    Piotr

    ...and your only reply is slàinte mhath

  • RE: Catching errors in DBCC CHECKDB

    Thanks, good question.

    Piotr

    ...and your only reply is slàinte mhath

  • RE: Membership constraint

    Maybe you can denormalize the structure a bit, which will make some of the queries simpler as well. You can put sum of payments to the Members table and Update...

    ...and your only reply is slàinte mhath

  • RE: Slow execution time on query who perfoms Updates

    It would be better if you posted actual execution plan, not the estimated one.

    If I may ask a few questions:

    Is stg_upfront.TotalValueUSD a varchar field? Why?

    Why do you exclude scientific...

    ...and your only reply is slàinte mhath

  • RE: Alter SP, does it recompile ? Performance

    Hi,

    Yes, ALTER causes recompilation of the procedure. This could have caused different execution plan to be generated, which works good now for the data the procedure works on.

    Regards

    Piotr

    ...and your only reply is slàinte mhath

  • RE: DBCC command won't execute with db_owner role

    Hi,

    This may have something to do with new behavior of the DBCC CHECKDB, which creates internal snapshot of the database. To disable snapshot creation, specify WITH TABLOCK option, but then...

    ...and your only reply is slàinte mhath

Viewing 15 posts - 61 through 75 (of 388 total)