LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2013, 03:29 AM   #1
Newbie89
LQ Newbie
 
Registered: Apr 2013
Posts: 9

Rep: Reputation: Disabled
How to import .txt file into sqlite3 database using C API?


I have no idea to save my data from .txt file to sqlite database?
can give tutorial to work on it?
Urgent...thanks
 
Old 05-06-2013, 04:06 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 19,902

Rep: Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740
what about this? http://www.linuxquestions.org/questi...se-4175460459/
 
Old 05-06-2013, 04:27 AM   #3
Newbie89
LQ Newbie
 
Registered: Apr 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I can access sqlite in c...now my part now is to get the .txt file data and save into the sqlite3 database...
 
Old 05-06-2013, 04:32 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 19,902

Rep: Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740Reputation: 6740
so that thread is solved, please mark as solved.
here you can find some examples: http://stackoverflow.com/questions/1...-a-struct-in-c
 
1 members found this post helpful.
  


Reply

Tags
database, logfile, sqlite3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sending queries in sqlite3 database via c API batman4 Programming 1 09-06-2012 12:58 AM
LXer: Speed Up DPKG With TDPKG (Using A Tokyocabinet Or Sqlite3 Database) LXer Syndicated Linux News 0 03-17-2010 01:11 PM
Loop or check SQlite3 database continuously, when query found run script for first 3 Techno Guy Linux - Newbie 3 09-27-2009 07:46 PM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 05:11 PM
Editing text file for import to a spread/database Franklin Programming 7 03-31-2004 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration