Viewing 15 posts - 511 through 525 (of 13,849 total)
Please test. Im not getting any data for February, but it is available.
How about you testing instead? That's what I do when things aren't working as expected.
You've created a few...
March 14, 2024 at 11:59 am
I just tried this, and for me the blocking occurs, exactly as you expected.
March 14, 2024 at 10:28 am
Why have you posted this again?
Duplicate post, original here: https://www.sqlservercentral.com/forums/topic/run-time-error-at-system-runtimemethodhandle-invokemethod
March 14, 2024 at 10:20 am
Step-by-step debugging is what I would suggest.
March 14, 2024 at 10:13 am
I suggest that you compare the schemas of the temp tables with those of the permanent tables and you'll see for yourself.
Alternatively, create the temp tables explicitly (using CREATE TABLE...
March 14, 2024 at 9:56 am
easy - would help if you had created a script task (as instructed on the link) instead of a script component.
so do it correctly - script component does NOT...
March 13, 2024 at 6:15 pm
Sorry … no idea.
March 13, 2024 at 5:52 pm
At what point do you get that error? Design time, or run time?
I just created a script task and pasted the code in. It built successfully.
March 13, 2024 at 4:40 pm
That looks like the sort of error you would get if you copied a package containing a project connection from one project to another.
March 13, 2024 at 4:10 pm
You are right to consider the potential for duplicates. I can't think of an elegant (and fool-proof) way of handling the composite key – so I'd stick with Jonathan's suggestion.
March 13, 2024 at 3:59 pm
If your actual tables include a PK not mentioned here, you may be able to use that to make your row unique, which would obviate the need for a derived...
March 13, 2024 at 2:58 pm
Well, the ConnectString states that the connection is Win Auth, so why the ''..ANONYMOUS LOGON' error then...?
It's a Kerberos thing. Get yourself a big cup of tea and read...
March 13, 2024 at 2:53 pm
When I right click a package from the Catalog project and choose Execute - is it trying to use mycredentials or possiblythe credentials of the Sql Server service...?
You can...
March 13, 2024 at 2:21 pm
It's a bit hacky, but this avoids the UNION ALL:
WITH Uniqued
AS (SELECT Grouper = IIF(sd.SampleType = 1, 1, CHECKSUM (*))
...
March 12, 2024 at 11:53 pm
Try
SUM(IIF(SampleType = 1, SampleValue,0))
March 12, 2024 at 10:50 pm
Viewing 15 posts - 511 through 525 (of 13,849 total)