δΊ 2011-3-8 23:37, Gary_Gabriel ει:
> Hi mweiguo,
>> hi all:
>> i am writing a tcl script, it will create a empty database and read a
>> schema file into database ...
>> in command line, it works when i use
>>
.read schema.sql
>> but in tcl script enviroment, how can i do that ?
Hi mweiguo,
> hi all:
> i am writing a tcl script, it will create a empty database and read a
> schema file into database ...
> in command line, it works when i use
>
>>> .read schema.sql
>>>
> but in tcl script enviroment, how can i do that ?
>
This script reads the *.sql file as a
On 8 Mar 2011, at 6:45am, mweiguo wrote:
> but in tcl script enviroment, how can i do that ?
Read the text file into a string and execute it.
If your text file is very very long, read it line by line and execute one line
at a time.
Simon.
___
hi all:
i am writing a tcl script, it will create a empty database and read a
schema file into database ...
in command line, it works when i use
>> .read schema.sql
but in tcl script enviroment, how can i do that ?
thanks
___
sqlite-users mailing list
4 matches
Mail list logo