Viewing 15 posts - 9,256 through 9,270 (of 13,882 total)
Jeff's suggestion is a good one. Aggregation in SSIS is a blocking transformation and should be avoided if possible. It's also slower than the SQL Server database engine.
June 4, 2014 at 12:12 am
SuzSQL (6/3/2014)
June 4, 2014 at 12:06 am
I suggest you change your approach slightly.
Create a FOREACH container which executes for every occurrence of the file you want to process. It will therefore execute either once or not...
June 3, 2014 at 3:32 am
tlrsekar 23727 (6/3/2014)
Thanks for reply, Attached Image, The Last column is my target output which is required.
In image in For MEC department starts with fresh summary since previous summary +...
June 3, 2014 at 12:45 am
How are you ordering the data? It's not clear from the sample.
June 3, 2014 at 12:11 am
Jason-299789 (5/29/2014)
May 29, 2014 at 5:51 am
Jason-299789 (5/29/2014)
The Table that having an ALTER Column run against it is a 300 column heap...
May 29, 2014 at 5:28 am
How is your scripting?
If you put your results into an object variable, you can use a single script task to iterate around the results and do all the file manipulation...
May 29, 2014 at 5:23 am
hristo1977 (5/28/2014)
For some reason, the file had .txt.txt and my code was looking for .txt....
My guess would be that you'd chosen not to display known file extensions in Explorer -...
May 28, 2014 at 6:39 am
emps.txt.txt?
May 28, 2014 at 6:24 am
It's probably irrelevant, but do you realise that your variable is called 'FileExits' in the code, rather than 'FileExists'?
I'm running out of ideas, sorry. This is so simple, it should...
May 28, 2014 at 5:58 am
hristo1977 (5/28/2014)
Hi,Thanks for that. I got quite a few errors when pasting in that, do I miss a namespace?
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
using System.IO;
Regards
H
Looks like VB to me and...
May 28, 2014 at 5:49 am
Ryan Keast (5/28/2014)
Legend. Thanks Phil
No problem. And if you want to ignore the time component, you might like to use
dateadd(d,-7,cast(getdate() as date))
instead.
May 28, 2014 at 4:55 am
Yes - add it to the WHERE bit:
WHERE [existing conditions]
AND STAGE1.[STAGE.Completion_Date] > dateadd(d,-7,getdate())
May 28, 2014 at 4:51 am
Check the project properties under debugging and set 'Run 64 Bit Runtime' to false. Then try again.
May 28, 2014 at 3:21 am
Viewing 15 posts - 9,256 through 9,270 (of 13,882 total)