Viewing 15 posts - 136 through 150 (of 198 total)
Got it! Thank you! Now I can post readable code finally! 🙂
February 21, 2010 at 10:12 am
All good points Paul. Thanks I will address. I did forget StayDate in the Update. "Where" must be the same in both branches. I did create a unique index on...
February 21, 2010 at 10:09 am
Thanks for the tip on posting code! THAT makes quite a difference!! 😀
So below is the rough draft. Look good? Still have some defensive coding to do of...
February 21, 2010 at 1:44 am
Perfect! Solid stuff as usual. Thanks once again Paul!
I was just checking out MERGE in BOL. BOL used to give version info. in the docs., but I don't see that...
February 21, 2010 at 12:08 am
Lets try this one more time. This post is definitely a sign it's time for bed!!
I'm writing a TSQL sproc that will be called by client applications to...
February 20, 2010 at 11:48 pm
Sorry about that Paul! I just got done editing the post.
I bailed out in the middle of my posting and jumped over to another forum to ask how others are...
February 20, 2010 at 11:39 pm
As a matter of fact, I happen to know it is a 2U server. I believe you're right that I won't be able to convince anybody. It stems from the...
February 17, 2010 at 9:21 pm
Argh! BUT if I implement this in SSIS, I can keep the load off the SQL Server, and since I will want this to be a sort of "service monitor"...
February 7, 2010 at 11:40 am
Hmm, wait a minute. If I go the sqlclr route, maybe I don't have to do impersonation? I already have all the linked servers setup. Could it be that simple?
February 7, 2010 at 11:02 am
So I'm thinking I like the sound of that sqlclr solution best, IF I can get it to work the way I need!
If I can get "impersonation" to work...
February 7, 2010 at 10:55 am
Thanks again Paul. Another great answer.
In my research on this, I came across an SSIS / WMI solution that might be better. I have to actually do this execute this...
February 7, 2010 at 9:41 am
Thanks Jeff. actually, I've been doing a little research, I might be better off using SSIS here. I think I understand how to get the service state using SSIS/WMI, but...
February 6, 2010 at 10:50 pm
WOW! Just got done comparing the NOT EXISTS vs. IGNORE_DUPS on a couple million rows on the real data, NOT EXISTS took about 9 mins., IGNORE_DUPS took 25 MINS. That's...
February 1, 2010 at 10:48 pm
With EXCEPT, do all the columns have to match to be excluded? The EXCEPT names all the same columns as the select. I guess I would expect to only have...
February 1, 2010 at 10:26 pm
Thanks Paul! I will definitely give these alternatives a shot and run some benchmarks. Like you said though, the IGNORE_DUP_KEY sure SEEMS like a silver bullet on the surface!
MERGE and...
February 1, 2010 at 9:15 pm
Viewing 15 posts - 136 through 150 (of 198 total)