Have a look at the shell.c file. The relevant code is at line 1655 in the latest version (in the 3.7.7.1 amalgamation .zip file). It is only about 120 lines, and most of it you could probably cut out in your own program (all the errors and processing for the command line. You can just substitute your parameters directly)
On Sun, Aug 7, 2011 at 7:07 PM, [email protected] < [email protected]> wrote: > I need to import some data data to my sqlite > I'm aware of the .import comand. > I wish i could do the foliwing but inside a C# program i'm using this > library (http://system.data.sqlite.org) > > .separator "|" > .import mytextfile.txt mytable > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

