Viewing 15 posts - 61 through 75 (of 388 total)
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...
November 10, 2009 at 5:51 pm
Thanks for sharing this.
Piotr
November 10, 2009 at 5:35 pm
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....
November 10, 2009 at 3:15 pm
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...
November 9, 2009 at 4:50 pm
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...
November 9, 2009 at 4:43 pm
@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...
November 9, 2009 at 12:15 pm
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
November 9, 2009 at 10:51 am
Why don't I see then actual rows counts? 🙂
Piotr
November 7, 2009 at 7:46 am
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...
November 6, 2009 at 4:41 pm
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...
November 6, 2009 at 3:59 pm
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
November 5, 2009 at 10:05 am
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...
November 4, 2009 at 5:39 pm
Viewing 15 posts - 61 through 75 (of 388 total)