Viewing 15 posts - 5,506 through 5,520 (of 13,879 total)
OK, here is a way of doing this. There must be a shorter way, but can't think of one right now.
(DT_DATE) (left((DT_STR, 8, 1252) @[User::DateKey],4) +...
June 26, 2017 at 5:10 am
Please read this:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9f9812c3-56cf-4a76-ad48-fad7b03ad9ac/how-to-pass-filename-as-a-dynamic-variable-to-flat-file-source-in-ssis-?forum=sqlintegrationservices
and confirm that you have set the flat file source dynamically.
June 24, 2017 at 2:36 pm
This thread has taken a strange turn – see the series of posts after Ed's post. I really don't see the issue.
June 23, 2017 at 10:45 am
June 23, 2017 at 6:46 am
June 22, 2017 at 6:01 pm
This is simple in SSIS, and had you posted the question in the Integration Services forum, you would have had an answer by now.
Use something like (untested)
[code...
June 22, 2017 at 5:10 pm
June 22, 2017 at 4:48 pm
From the given filepath need to extract "ABC" from "ABCabcprices-20170621122040.txt".
Conditions : Severname and foldername...
June 22, 2017 at 2:08 pm
June 22, 2017 at 8:56 am
SELECT
item_name
, category = (CASE
WHEN item_name IN ('charger', 'cable') THEN
'electricity'
WHEN item_name IN ('pen', 'pencil') THEN
'accessories'
ELSE
'other'
...
June 22, 2017 at 8:30 am
June 22, 2017 at 8:03 am
You have missed a step, I think.
Create a new string variable, to hold the file name.
Configure the FEL to map the 'current' file name to the variable you have created.
Use...
June 22, 2017 at 7:37 am
Thom, I have not read your code in detail, but doesn't running a package execution in SYNCHRONOUS mode obviate the need for this polling?
June 22, 2017 at 7:29 am
June 20, 2017 at 10:55 am
Is G: a local or network drive?
Does the SQL Agent user have rights to the folder?
June 20, 2017 at 7:34 am
Viewing 15 posts - 5,506 through 5,520 (of 13,879 total)