Viewing 15 posts - 3,646 through 3,660 (of 13,874 total)
I'm dating myself here, but:
Bill or George! Anything but Sue!
I just noticed this in one of the OP's earlier posts – maybe it's what triggered Steve
And I could use...
May 17, 2019 at 6:25 pm
What is the text of the error message you receive when running this?
May 17, 2019 at 6:03 pm
Thanks, But my original question is not about how to use the tabs from advanced step about success quit, and fail continue etc. I know all those. It is...
May 17, 2019 at 5:42 pm
It's time for you to do some work yourself, rather than relying on me to spoon-feed you with every single detail.
May 17, 2019 at 4:38 pm
Thanks, I know the condition and the process, but how can I construct the sql to let it know if it is 0 then on success, if 1 failure....
May 17, 2019 at 4:15 pm
I like Sue's approach but honestly, I'd avoid the LIKE. If this changes, it would likely be quicker to just update all rows inserted.
Sue?
May 17, 2019 at 4:00 pm
No code required. It's in the Advanced properties for the step.
May 17, 2019 at 3:48 pm
Total number of rows should be equal to number of rows in C.
Unless multiple occurrences of the same CreditCheckLevel are returned by the subquery, in which case there will be...
May 17, 2019 at 3:13 pm
This is a bizarre piece of code – can you explain what it is intended to do, please?
Why would CustomerId ever be equal to CreditCheckLevel? Even if it is, why...
May 17, 2019 at 2:36 pm
Would you know how to do that?
No I don't. Constraints and checks are there to prevent bad things happening. They do not change data.
Have you considered leaving the column as...
May 17, 2019 at 2:05 pm
I had a go at simplifying your first piece of code. As I don't have the underlying table structures, I may have made some slight mistakes, but see whether you...
May 17, 2019 at 2:02 pm
Neither defaults nor constraints will help here.
But an INSTEAD OF INSERT trigger could do the work. Have a look here for an example/walkthrough.
Incidentally, what is the datatype of the...
May 17, 2019 at 1:44 pm
The SQL Agent job steps idea could be expanded to something like this
May 16, 2019 at 10:47 pm
I tried Run in 64 bit runtime to False still same error.
What error is that, exactly?
May 16, 2019 at 10:25 pm
Viewing 15 posts - 3,646 through 3,660 (of 13,874 total)