Viewing 15 posts - 511 through 525 (of 13,841 total)
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
How many tables are updated during this process?
Does each table have date created / date modified columns?
Is the incoming data purely inserts, or inserts + updates, or inserts + updates...
March 12, 2024 at 8:40 am
Your final resultset cannot contain a mixture of numbers of columns and datatypes. But you can create a wider dataset, eg
SELECT Col1, Col2, Col3, Col4 = NULL,...
March 12, 2024 at 8:34 am
do u want to say that we should not use begin end in inlined scalar functions?
Jeff's post says exactly what he meant to say. He did not condense his...
March 11, 2024 at 12:18 pm
A quick response to some of your questions:
March 8, 2024 at 10:37 am
I'm not paying 1500 bucks a year (plus however many hours a year it takes to get it approved and renewed) for infrequent code refactoring lol
That's...
March 5, 2024 at 3:51 pm
Check out COUNT(x) vs COUNT(DISTINCT x)
March 5, 2024 at 3:37 pm
Viewing 15 posts - 511 through 525 (of 13,841 total)