Viewing 15 posts - 1,981 through 1,995 (of 13,849 total)
Is the error happening in SSDT? If so, you should be able to see from the Output window exactly which component is causing the error.
Is your Expression task empty? Maybe...
June 17, 2021 at 9:13 am
I suspect that the problem does not occur when the update is performed, instead, the column does not exist and therefore the error occurs at parse time, just before execution.
There...
June 15, 2021 at 1:37 pm
In my opinion, this is something which you should definitely fix.
But if you use
SELECT DISTINCT cols
rather than
SELECT cols
any duplicate rows will be removed.
June 10, 2021 at 1:47 pm
There is no need to use script tasks to set the value of variables - use Expression tasks for that.
If you want to set a variable to indicate a file's...
June 8, 2021 at 10:10 pm
Please tell me you're not creating temp tables 1TB and larger.
June 8, 2021 at 6:18 pm
@phil-parkin: do you mean use the "Foreach Loop Container"? Would I then have in the container Expression Tasks or a Script Task?
Yes, that's it.
Configure the 'Collection' node properties as follows:
June 8, 2021 at 5:00 pm
My preferred way of handling such things is to use a FOREACH container. The contents of the (appropriately configured) FOREACH container will execute only if the specified file is found,...
June 8, 2021 at 4:11 pm
Yes, but yesterday I was getting C0FB8B944A767E1AACE82F930D95E69ED912ADAD using the same, and today using the same SSIS process we also got C0FB8B944A767E1AACE82F930D95E69ED912ADAD.
Are you suggesting that if you could go back...
June 8, 2021 at 1:33 pm
If I run this
SELECT CurrencyHashKey = CONVERT(CHAR(40), HASHBYTES('SHA1', LTRIM(RTRIM(COALESCE('USD', '')))), 2);I get
57814CFBAE5C6D00F5CAB49E34B9AA2CE8269EB9
June 8, 2021 at 1:24 pm
Without knowing more about dbo.[spAmount_V1], I can't do that.
Please post the 'signature' of that proc. That is, the following bit
CREATE PROCEDURE <procname> <parameters>
AS
In particular, you should have an OUTPUT parameter...
June 8, 2021 at 8:16 am
Stored procedures return results differently from functions. Here is an example proc and how to call it:
CREATE PROCEDURE dbo.DuffProc @RetValue VARCHAR(50) OUTPUT
AS
BEGIN
SET @RetValue...
June 7, 2021 at 9:29 pm
Try changing this part
(SELECT BirthYear = n + 1921, Age = YEAR(GETDATE()) - n - 1921) calcs
JOIN GroupInfo g
ON calcs.Age
BETWEEN g.StartAge AND g.EndAge
ORDER BY Tally.n DESC;
to this
(SELECT...
June 7, 2021 at 4:25 pm
As you have not provided any DDL or sample data, and your sample results do not appear to include a single reference to your customer data, I had to guess:
June 7, 2021 at 2:05 pm
I cannot not see any question here.
June 3, 2021 at 8:41 pm
Viewing 15 posts - 1,981 through 1,995 (of 13,849 total)