Re: [sqlite] FW: problem sqlite3 c++ please

2013-06-07 Thread fnoyanisi
Is this a repeated post? You cannot use shell commands as Sql statements in c api. Write your own export routine. Here is one I wrote. https://github.com/fnoyanisi/sqlite3_capi_extensions On 06/06/2013, at 11:02 PM, Maxime Gerum wrote: > > Hello, i’m french, sorry if i make errors of langag

Re: [sqlite] Fw: problem sqlite3 c++ please

2013-05-30 Thread Fehmi Noyan ISI
Subject: Re: [sqlite] Fw: problem sqlite3 c++ please Hi, The command you entered, starting with dot, are sqlite shell commands, i.e. if you need similar functionality, you either * need to check SQLite C/C++ API documentation for a fucntion  or * need to implement your own function

Re: [sqlite] Fw: problem sqlite3 c++ please

2013-05-30 Thread Fehmi Noyan ISI
Hi, The command you entered, starting with dot, are sqlite shell commands, i.e. if you need similar functionality, you either * need to check SQLite C/C++ API documentation for a fucntion  or * need to implement your own function From: Maxime Gerum To: "sqlit

Re: [sqlite] Fw: problem sqlite3 c++ please

2013-05-30 Thread Stephan Beal
On Wed, May 29, 2013 at 4:31 PM, Maxime Gerum wrote: > > it works, but in c++, if i make request[4]= ”.mode csv” > .mode is a command from the shell program sqlite3, and is not valid SQL. The C API only knows SQL, so you'll have to write the import/export code yourself or steal it from the shell