On 09-12-10 18:53, yazdan asgari wrote: > > --- On Thu, 12/9/10, luuk34<luu...@gmail.com> wrote: > > From: luuk34<luu...@gmail.com> > Subject: Re: [sqlite] Reading a text file and insert to sqlite tables > To: "General Discussion of SQLite Database"<sqlite-users@sqlite.org> > Date: Thursday, December 9, 2010, 9:21 AM > > > > On 09-12-10 18:13, yazdan asgari wrote: >> Hi >> I use C Programming Language and I also know that I could use INSERT >> command. But my problem is whether any one could show me a simple code which >> demonstrate how an INSERT command should be written during reading a text >> file. I have searched Google but I could not find any useful link. >> Yazdan >> > u did not search correctly: > http://www.google.com/search?hl=en&safe=off&rlz=1G1ACAW_NLNL390&q=sqlite+c++example+insert+data&btnG=Search&aq=f&aqi=&aql=&oq=&gs_rfai= > > 1st link points to: > http://www.lemoda.net/sqlite/c-insert/ > > Hi > Thanks for your quick reply. I saw the linked that you said but my problem is > to INSERT data during reading a long text file in which every line consists > of several queries. I could read this file and write to an output file but I > am not able to write a sqlite command (INSERT in this case) in order to put > data in desired tables. > > i fixed te top-quoot, because i think bottom-quoot is easier to read.
But reading you question again, i dont seem to understand your problem... sorry _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users