Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-21 Thread Marvin Bellamy
-users-boun...@sqlite.org] On Behalf Of Jan Hudec Sent: Monday, July 18, 2011 1:51 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB On Thu, Jul 14, 2011 at 16:20:56 -0500, Marvin Bellamy wrote: > I want to run sqli

Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-18 Thread Jan Hudec
On Thu, Jul 14, 2011 at 16:20:56 -0500, Marvin Bellamy wrote: > I want to run sqlite3 from a script (actually from a ToolTask in the MSBuild > environment) and get it to create a database without dropping into > interactive mode. It looks like ToolTasks don't like the redirection > operator (they'

Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-14 Thread Pavel Ivanov
> Is anyone aware of another technique for preventing interactive mode from > running?  I've seen this method: > > Sqlite3 -init new.sql new.db .exit How about sqlite3 new.db ".read new.sql" Pavel On Thu, Jul 14, 2011 at 5:20 PM, Marvin Bellamy wrote: > I want to run sqlite3 from a script (ac