Viewing 15 posts - 1,516 through 1,530 (of 13,838 total)
Perhaps try modifying your Master package to spawn only four copies of GetNextTable?
Given that it bombed out at 4GB before, it's a bit strange how it only made it to...
March 8, 2022 at 1:12 pm
As the package is held in encrypted form in SSISDB, I expect this to be quite difficult to achieve.
I'm not quite understanding the sequence of events.
Does the code you have...
March 8, 2022 at 1:07 pm
OK, maybe this will help. Try adding the following 5 lines of code outside and after the first Using block:
...
...
March 8, 2022 at 11:11 am
I don't know how to fix things using your current top-down package hierarchy, though I do know that there used to be a memory leak in FOR loops years ago...
March 8, 2022 at 10:06 am
OUTER APPLY is the way to go, but you need to also modify the initial SELECT
SELECT ISNULL(ca1.Extension, a.Extension)
,ISNULL(ca1.Name, a.Name)
...
March 8, 2022 at 9:44 am
When you refer to 'spawning' of packages, is this done via multiple Execute Package tasks, or in some other way?
March 8, 2022 at 9:34 am
--Removed
March 7, 2022 at 4:41 pm
You've been here long enough to know that your sample data should be provided in a consumable format, for us to cut & paste into SSMS.
Where does 'Extension' 1 come...
March 7, 2022 at 4:03 pm
Please try using my modified query and see whether it gives the results you are hoping for:
WITH AffectedVehicles
AS (SELECT DISTINCT
...
March 5, 2022 at 3:07 pm
I should get a chance to look at this again tomorrow regarding the additional engine requirement.
Didn't take long, maybe 30 minutes in total for both solutions.
March 4, 2022 at 11:41 am
Duplicates involves all columns. I would like to add an index column to identify each row.
Here are two duplicate rows: (x,y,z), (x,y,z)
Now tell me what your 'index column' (whatever...
March 3, 2022 at 5:27 pm
I had a quick go at this, see whether it helps.
DECLARE @Mechanic VARCHAR(4) = 'Mike';
DECLARE @MessedUpStart DATETIME = '2000-01-03 14:00:00';
DECLARE @MessedUpEnd DATETIME = '2000-01-03 16:00:00';
DROP TABLE IF...
March 3, 2022 at 2:16 pm
First i would like to able to have an unique identifier. Is the unique index the way to go?
What do you hope to achieve by doing this? You cannot...
March 3, 2022 at 11:23 am
You don't.
First you decide on the desired PK. Then you address any dupes. Then you issue an ALTER to set the PK.
March 2, 2022 at 7:00 pm
No, I only want to make it in OneQuery.
Remember, i only used this first query to get the list of what was changed during a period from a user...
March 2, 2022 at 4:39 pm
Viewing 15 posts - 1,516 through 1,530 (of 13,838 total)