+ Reply to Thread
Results 1 to 5 of 5

Excel Import problem

  1. #1
    Registered User
    Join Date
    11-08-2005
    Posts
    12

    Question Excel Import problem

    Hi,
    I am importing my Excel data in SQL, problem is the first row of the Excel sheet is not imported into the database. i think this is because of theheader problem... i haven't given any header so i guess the first row is taken as Header and the value is not taken... actually speaking there is no header to this Excel sheet and i need all the values to be import into the database.
    how to do it?
    waiting for ur reply .
    thanks,
    jay.

  2. #2
    Kalpesh
    Guest

    Re: Excel Import problem

    Jayender,

    How are you trying to import the rows (by means of code or any tool
    that does it)
    If code, please post a snippet of it

    Kalpesh


  3. #3
    Registered User
    Join Date
    11-08-2005
    Posts
    12
    I am npot doing it by any means of code.. u got an Data Transformation Services in SQL, with the help am imporing the data.

    while doing that the first row is not added to the database

  4. #4
    Kalpesh
    Guest

    Re: Excel Import problem

    Hi,

    I guess that is the limitation with DTS. Whereby you cannot tell DTS to
    NOT consider 1st row as the field name

    IMO, it will be better to write VB code which transfers data from excel
    to your db using ADO
    Does this help ?

    Kalpesh


  5. #5
    Registered User
    Join Date
    11-08-2005
    Posts
    12

    Thumbs up

    Ya it does help .
    but not much .. am not writing any scrips in VB or something like that.

    anyway thatks dude !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1