Welcome to SPN

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

Sign Up Now!
  1. Monthly (Recurring) Target: $300 :: Achieved: $95
      Become a Supporter    ::   Make a Contribution   

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]
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page