CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • any easy way to convert large CSV file to SQL?
Pages: [1]

Author Topic: any easy way to convert large CSV file to SQL?  (Read 2688 times)

webguy2

  • Guest
any easy way to convert large CSV file to SQL?
June 02, 2009, 09:59:52 am
I am trying to find an easy way to convert a large (10k+ records) CSV file to a sql for easy table creation to use the SQL import.

Any ideas or sites?

Many thanks!!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: any easy way to convert large CSV file to SQL?
June 02, 2009, 11:37:16 am
Doing a Google search on 'import CSV into MySQL table' should give you some techniques for doing this.
Protect your investment in CiviCRM by  becoming a Member!

webguy2

  • Guest
Re: any easy way to convert large CSV file to SQL?
June 02, 2009, 11:43:39 am
I did that before posting and found nothing useful yet.  Will pick it back up, I guess.

It's not so much a import as it is getting the table created easily - it has 75 fields I match many with data mapping on contact import.  So ideally, I'd like a auto create table statement, then I could import the data the usual way - csv directly into table, then use the sql import to import contacts.

Thanks.
« Last Edit: June 02, 2009, 11:46:39 am by webguy2 »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • any easy way to convert large CSV file to SQL?

This forum was archived on 2017-11-26.