On Tue, May 14, 2013 at 1:53 AM, Dulini Atapattu
<dulini.atapa...@gmail.com>wrote:

> Hi all,
>
> I have some sqlite scripts with some sqlite commands like:
>
>    - .headers ON
>    - .mode CSV etc.
>
> Is there anyway of running this script in SqliteDB using Sqlite interface
> for C++, instead of redirecting the file to sqlite using sqlite command
> line shell?
>

Those commands are implemented by the sqlite3 command-line shell, not by
the SQLite library.

You can copy/paste the code out of the sqlite3 command-line shell source
code (www.sqlite.org/src/artifact/2109d54f67) and add that code to your C++
application, I suppose.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to