Import data from Excel 2007 to SQL Server Management Studio 2008

  • Hello All,

    I have a task to write stored procedure for a data migration project, I am trying to load data from existing tables to a dimension table for warehousing ....

    The challenge is I have to get the same number of incidents in the base table cos ..the dimension table being used is to have a vehicle per incident, and its damaged area ..which 1377 incidents records

    where i encountered challenges i when i made a join to an incident_vehicle damage area to see the parts of the vehicles that has been damaged , at this point the challenge began cos i did a left join to the vehicle damaged area from the incident table, and in turn to a lookup/reference table to see what part of the vehicle that has been damaged per vehicle but i got about 20,000 records ...

    My boss advised i concatenated each part of the columns recorded for the damaged area to fetch one vehicle per incidence

    Please this might be theory but your advice is greatly needed....Many thanks

    I know i can count on u guys as i am on a strict deadline

    many thanks

  • col1 col2 col3

    5.06.03.5

    9.59.86.3

    9.06.08.0

    Col4col5col6

    9.56.08.0

    6.39.33.9

    8.78.08.8

    9.08.36.9

    8.69.06.2

    I have data like this in excel, how to load into 2 different tables

    first table contain col1,col2,col3as columns

    second table contain Col4,col5,col6 as columns.

    Plz help me how to do it...

  • raghavender.2369 (11/30/2012)


    col1 col2 col3

    5.06.03.5

    9.59.86.3

    9.06.08.0

    Col4col5col6

    9.56.08.0

    6.39.33.9

    8.78.08.8

    9.08.36.9

    8.69.06.2

    I have data like this in excel, how to load into 2 different tables

    first table contain col1,col2,col3as columns

    second table contain Col4,col5,col6 as columns.

    Plz help me how to do it...

    Do not hijack other peoples threads, you have already created your own thread here, please be patient, we are all unpaid volunteers who help in our spare time.

Viewing 3 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic. Login to reply