Advertisement

09.02.2008 at 12:01PM PDT, ID: 23697035
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

Use a SSIS package to query a .xls file, manipulate the data, then push to an Access2003 table (only landing on disk 1 time)

Asked by sqlagent007 in SQL Server 2005

Tags: , ,

I would like to create an SSIS package to query a .xls file, use a pivot function, then push the results to an Access2003 table. I do not want to create staging table in a SQL server database unless I absolutely have to. I think this will be possible without landing the data to disk 2 or 3 times.

What I have done so far is:
1) Create a connection to the xls file
2) Added a "data flow" task
3) Added the .xls source to a pivot function
4) added the Pivot function to connect to a jet4 datasource for access2003

I am having problems with the pivot function.

I tried to add a pivot function to break the "hire" and "term" dates into columns, however I am getting this error:

"Error: 0xC02020CF at move from excel to access, Pivot [94]: Duplicate pivot key value "Original Hire Date"."

here is how the .xls file looks now:

DateType (Pivot value)                | Date
-----------------------                 |----------      
Original Hire Date                   | 01/01/2007
Last Working Day                   | 01/01/2008
Original Hire Date                   | 05/05/2007
Last Working Day                   | 05/05/2008


Here is what I want to do

HireDate               TermDate
---------               --------
01/01/2007      01/01/2008
05/05/2007      05/05/2008

However I keep getting the above error. I have attached the file so you can see what my pivot transformation looks like. I have attached an example .xls file so you can attach to it and view the pivot transformation. All values are fictitious. As you know, just rename the files to .dtsx and .xls.

Thanks for all your help.

Start Free Trial
Attachments:
 
this is an excel file, rename to .xls
 
 
this is the SSIS pacakge, rename to .dtsx
 
[+][-]09.02.2008 at 02:14PM PDT, ID: 22371800

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 09:57AM PDT, ID: 22379236

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 10:16AM PDT, ID: 22379426

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 10:29AM PDT, ID: 22379554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 01:48PM PDT, ID: 22381798

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 10:34AM PDT, ID: 22390225

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 11:20AM PDT, ID: 22491526

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.18.2008 at 04:21PM PDT, ID: 22516498

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.19.2008 at 05:07AM PDT, ID: 22520203

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: Microsoft, SQL server integration services, 2005
Sign Up Now!
Solution Provided By: PedroCGD
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.23.2008 at 04:04AM PDT, ID: 22548036

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 04:25PM PDT, ID: 22610327

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628