Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9099267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:34:18+00:00 2026-06-17T00:34:18+00:00

I have started down a rather exciting project. I have had this idea that

  • 0

I have started down a rather exciting project. I have had this idea that people in my organisation could drop CSV files into a load folder and then setup a loader in a web interface.

This doesn’t sound that special – however, the beauty is the web app can let the user select only certain columns that they require to be extracted from the CSV – once setup this loader can be run on a regular basis.

The data can then be transformed via a user defined query and potentially loaded into a data wherehouse

The issue I am hitting is a table structure for my staged CSV data – so that I can transform it.

The CSV file structure can vary with lots of columns or very few eg.

CLIENT    SALES COST 
Mr Smith  234   45
Mr Blogs  256   35

The sturcture I currently have is

ID COLUMNID VALUE    FILELOADDATE
1  1        Mr Smith 2012-12-25
2  2        234      2012-12-25
3  3        45       2012-12-25
4  1        Mr Blogs 2012-12-25
5  2        256      2012-12-25
6  3        35       2012-12-25

So the data has been ‘UNPIVOTED’ if you like, allowing me to store various CSV formats

The issue im hitting is now the data has been transposed I have effectively broken the link in that data so I would not know who the sales figure was related to

The approach I have taken is fine if I want to aggregate say sales by date or cost by date or something like that

Is there a different wy I could approach this so that I dont loose that link? could I have another column with row in or something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:34:19+00:00Added an answer on June 17, 2026 at 12:34 am

    I think you kind of answer your own question, if you add a row (and maybe a dataset id?, so you can differ between different csv-files). You could then also move the FILELOADDATE field into a dataset table

    ID DATASETID ROWID COLUMNID VALUE    
    1  1         1     1        Mr Smith 
    2  1         1     2        234      
    3  1         1     3        45       
    4  1         2     1        Mr Blogs 
    5  1         2     2        256      
    6  1         2     3        35      
    

    Dataset Table:

    ID FILELOADDATE
    1  2012-12-25
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started down this path, because I've got a CAN driver in uCLinux that
I have started playing with UIProgressView in iOS5, but havent really had luck with
I have started to look at the Entity Framework for a project I am
When my current project started I was still learning RoR and we had a
Looking for some practical advice here and any experiences people have had in a
We started a project that will be managed with Scrum/XP. We wrote the whole
I have been asked to build a rather simple form processor application that interacts
I have started to feel that using regular expressions decreases code maintainability. There is
Working with Visual Studio (I'm using 2008) I have started to notice that when
This is a weird problem I have started having recently. My team is developing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.