Viewing 15 posts - 2,641 through 2,655 (of 13,853 total)
Not sure if that is exactly what you are looking for ...
Yes, that worked for me. It is a little slow, but I'm not dealing with large datasets, so it's...
May 27, 2020 at 1:27 pm
This is unworkable. Surely it is clear that a fixed-width file cannot have headings which are wider than the length of their column?
May 25, 2020 at 3:26 pm
Try switching the order of CTE and tableB in your LEFT JOIN. Or leave as is and change to a RIGHT JOIN.
May 21, 2020 at 1:20 pm
Fair enough. I'd be tempted to take it offline early one morning and then keep an ear open for the Help Desk calls ... Maybe that's why I'd make a...
May 20, 2020 at 6:26 pm
Thanks to you both for your efforts.
I now have this working via an Execute Process task (though I still have to do some serious parameterisation to make it production-ready).
So I'm...
May 20, 2020 at 4:57 pm
If it helps, I've found the package on NuGet: https://www.nuget.org/packages/System.Management.Automation/
Thanks, Thom. I actually tried that already. It seems that this module works with .NET Core only.

May 20, 2020 at 3:22 pm
Can you check if anyone is using the database based on the logs? Want to check if anyone is accessing the db. If yes, with logs how is that possible?...
May 19, 2020 at 11:52 pm
If you need to join multiple values to multiple values, the better approach is what's called an interim table. .
I don't think 'interim table' is the correct term here...
May 19, 2020 at 12:42 pm
Like this?
DROP TABLE IF EXISTS #X_ReadytoPick;
CREATE TABLE #X_ReadytoPick
(
SOPstatus VARCHAR(50)
,OpsStatus VARCHAR(50)
,OrderNumber VARCHAR(50)
);
INSERT #X_ReadytoPick
VALUES
('Acknowledgement', 'Okay', 'ORD001')
,('Pack Complete', 'Picked', 'ORD002')
,('Pack...
May 18, 2020 at 4:14 pm
Thanks Phil, I appreciate your advice but this data is to be loaded into an CRM system that will only accept dates in this format.
I've since thought that I...
May 17, 2020 at 1:55 am
Thanks frederico_fons,
I get what your saying as I've noticed that any transform I've been doing changes the data type to String. So I thought the best idea was to...
May 16, 2020 at 6:07 pm
Use an ExecuteSQL task and do it in T-SQL using REPLACE with the standard trick. For example, for commas:
SELECT REPLACE(
...
May 14, 2020 at 11:15 pm
The client does have this odd requirement to use package, not project deployment.
You did say this in your initial post. Thom's question, however, was 'why is this restriction in place?'
We're...
May 14, 2020 at 4:23 pm
Try this
SELECT v.n2.value('(@*:ObjectName)[1]','varchar(30)') AS Name,
p.n1.value('(@*:ObjectName)[1]','varchar(30)') AS Scope
FROM #SSISTest st
CROSS APPLY st.PackageXML.nodes('//*:Executable') AS p(n1)
CROSS APPLY p.n1.nodes('*:Variables/*:Variable') as v(n2);
Straightforward and works perfectly, thanks very much...
May 14, 2020 at 1:41 pm
Is the SQL DB destination table the same for both packages?
Is the lock being applied on that table, or on other objects?
May 14, 2020 at 1:27 pm
Viewing 15 posts - 2,641 through 2,655 (of 13,853 total)