Viewing 15 posts - 12,826 through 12,840 (of 13,855 total)
Change your data source from 'table' to SQL command.
Select fields from your table and (critically) add a Row_Number() column partitioned on the fields you are using to identify duplicates. So...
May 4, 2009 at 12:02 am
You have provided neither
a) sample data, nor
b) an example of what you want to print
yet you are asking for sample code. Leaving aside paranormal abilities, just how do you expect...
May 3, 2009 at 11:25 pm
When you say the second value, you mean the one which is zero in your sample data? Zero is different from null and needs to be handled differently.
If the value...
May 3, 2009 at 5:56 pm
Have a look here for an example of how it can be done.
http://blogs.conchango.com/jamiethomson/archive/2006/07/11/4209.aspx
May 3, 2009 at 3:15 pm
GSquared (5/1/2009)
One way to do that would be something like this:
;with Dupes as
(select row_number() over (partition by facilityid, measureid, order by date desc) as Row,
facilityid,
measureid
from dbo.MyHoldingTable)
delete from Dupes
where Row >...
May 1, 2009 at 8:41 pm
So the records coming out of the OLEDB source are in the correct order, yet they are written in some other order?
Can you confirm that by adding a Data Viewer...
May 1, 2009 at 8:36 pm
What is the format of the dates in the source file? Please post an example.
May 1, 2009 at 8:29 pm
Wow, felt like I was downloading a movie as I was waiting for that huge screen-shot to appear 🙂
There is a very strong suggestion that there is a problem with...
April 30, 2009 at 6:53 pm
One way of making this work is to have a template spreadsheet somewhere, which contains no data, but only the column headings/sheet names. Then your process would be:
a) Delete orig...
April 30, 2009 at 6:21 pm
Sounds correct, except (hopefully) the rows that you are removing are 'matching', not 'duplicate'.
The 'Upsert' idea, though slightly more complicated, should perform better, as it requires much less disk activity....
April 30, 2009 at 6:05 pm
What does the package do?
Can you paste the detailed error message?
April 30, 2009 at 5:43 am
Is there a 'Date Last Updated' field on the Oracle data? If not, can you add one?
Initially, you will have to load all the data, but after that, just select...
April 30, 2009 at 5:39 am
Easy. Create a new 'parent' package.
In that, string together your already developed packages as a series of Execute Package tasks.
Running the parent package will then execute all of your 'child'...
April 30, 2009 at 1:56 am
So you are trying to add a copy of an existing column to an existing table?
This sounds like a one-off design task - why are you thinking of using SSIS...
April 29, 2009 at 11:55 pm
Viewing 15 posts - 12,826 through 12,840 (of 13,855 total)