Viewing 15 posts - 91 through 105 (of 391 total)
I found the problem - the Constraint needed just an expression and it needed double equal signs: @[User::TrainingFilePresent]==1 and @[User::TrainingFilePresent]==0
Thanks!
June 10, 2021 at 9:04 pm
The variable for the path is ReadOnly, the variable for the filename is readOnly, the variable for the FilePresent is Read/Write
June 10, 2021 at 8:42 pm
I've got my Foreach Loop Container in PROD and it is doing what it is supposed to do so this is really just a learning experience.
I put this in TEST:...
June 10, 2021 at 8:04 pm
What I would like is the flexibility of things like displaying a message like "File not found - continue Yes/No?" or truncating a SQL Server table based on the results...
June 10, 2021 at 4:24 pm
If I needed still, with using the Foreach Loop container, to check for the existence of the file do I place an Expression task before the step to set the...
June 10, 2021 at 4:13 pm
I believe the method of utilizing the Foreach Loop Container is the most straightforward solution, but I'm sure I need to learn more about the other methods, as situations requiring...
June 8, 2021 at 7:40 pm
So I could in fact use the Expression Tasks alone without the Script Task, and those Expression Tasks could determine if the file existed in the folder?
If I wanted to...
June 8, 2021 at 4:24 pm
So do I still need the Script Task with the C# Code?
June 8, 2021 at 4:00 pm
All is working now... Cross apply is a great tool
June 7, 2021 at 5:17 pm
I'm still getting the "Invalid length parameter passed to the LEFT or SUBSTRING function." error.
June 7, 2021 at 4:44 pm
LEFT(SUBSTRING([AGENT],CHARINDEX(')', [AGENT])+1, LEN([AGENT])-CHARINDEX(')', [AGENT])),CHARINDEX('-',[AGENT])-CHARINDEX(')',[AGENT])-2) -works!
June 7, 2021 at 3:43 pm
I get a "Invalid length parameter passed to the LEFT or SUBSTRING function." error plus what if in the number there were a letter like '-16LK5'?
June 7, 2021 at 3:26 pm
This works most of the time but if I have data like '(t) Jamie Guy -692' it does not:
LEFT(SUBSTRING([AGENT],CHARINDEX(')', [AGENT])+1, LEN([AGENT])-CHARINDEX(')', [AGENT])),LEN([AGENT])-10)
June 7, 2021 at 2:53 pm
What about a different datatype in SQL... Blob or Html? Would the text shown go into that?
May 28, 2021 at 5:23 pm
I was able to get the package to run but the csv is proving to be useless since it inspite of being 1020 chars in the SQL table it cuts...
May 28, 2021 at 5:14 pm
Viewing 15 posts - 91 through 105 (of 391 total)