John Salerno said:
> I'm asking about an actual file, though, not just a single query. I've
> tried something like what you suggest with the file path, but it
> doesn't work.
>

sqlite database.db < script.sql


>
>
> On 8/23/06, Scott Baker <[EMAIL PROTECTED]> wrote:
>> echo "SELECT * FROM Table" | sqlite database.bin
>>
>> John Salerno wrote:
>> > Hi everyone. Can someone tell me the proper syntax for running a sql
>> > script when starting up sqlite from the command line interface?
>> >
>> > Thanks,
>> > John
>> >
>> > -----------------------------------------------------------------------------
>> >
>> > To unsubscribe, send email to [EMAIL PROTECTED]
>> > -----------------------------------------------------------------------------
>> >
>> >
>> >
>> >
>>
>> --
>> Scott Baker - RHCE
>> Canby Telcom System Administrator
>> 503.266.8253
>>
>> -----------------------------------------------------------------------------
>> To unsubscribe, send email to [EMAIL PROTECTED]
>> -----------------------------------------------------------------------------
>>
>>
>
> -----------------------------------------------------------------------------
> To unsubscribe, send email to [EMAIL PROTECTED]
> -----------------------------------------------------------------------------
>
>


-- 
Simple Content Management
http://www.ceamus.com


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to