Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

automatic import of .csv file into access database

Discussion in 'Information Technology' started by amolchopra@gmail.com, Nov 9, 2005.

  1. amolchopra@gmail.com

    amolchopra@gmail.com
    Expand Collapse
    Guest

    I have a .csv file. I have to read it and import the contents into one
    of the DB tables. I have already worked on the ODBC part. Have opened
    the file in read mode. This is a "C" application and the user has to
    provide the files name at the command prompt. I can read the file name,
    can open the file have connected to the DB. All I am looking for is
    some command (or SQL query) that I can use in my C program to import
    its contents to the table. Can some one please help??
     
  2. Loading...

    Similar Threads Forum Date
    Importance Of Dastar History of Sikhism Aug 12, 2016
    Importance Of Tirath / Pilgrimage As Per Gurbani Gurmat Vichaar Jun 1, 2016
    Superheroes: Arjan Bhullar Explains Wrestling's Importance In The Sikh Community Sports & Fitness Apr 15, 2016
    Important decisions in life Questions and Answers May 25, 2015
    Friendship Between Genders... Important Question Questions and Answers Dec 20, 2012

  3. John Vinson

    John Vinson
    Expand Collapse
    Guest

    On 8 Nov 2005 13:21:24 -0800, amolchopra@gmail.com wrote:

    >I have a .csv file. I have to read it and import the contents into one
    >of the DB tables. I have already worked on the ODBC part. Have opened
    >the file in read mode. This is a "C" application and the user has to
    >provide the files name at the command prompt. I can read the file name,
    >can open the file have connected to the DB. All I am looking for is
    >some command (or SQL query) that I can use in my C program to import
    >its contents to the table. Can some one please help??


    Take a look at the online help for the TransferText method.

    John W. Vinson[MVP]
     

Share This Page