Viewing 15 posts - 1,546 through 1,560 (of 13,871 total)
Still can't get pass this error:
Type conversion in expression (CONVERT(int,[d2].[attValue],0)) may affect "CardinalityEstimate" in query plan choice, The query memory grant detected "ExcessiveGrant", which may impact the reliability. Grant...
March 9, 2022 at 9:17 am
I second everything Brian Gale has posted here. Excellent advice.
March 8, 2022 at 3:09 pm
Another possibility is pushing the contents of the table to a text file on the remote server, zipping that, copy to local server, unzip and import.
As implied in the previous...
March 8, 2022 at 3:05 pm
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
Viewing 15 posts - 1,546 through 1,560 (of 13,871 total)