At 2:12 PM -0400 7/23/99, Dennis "Thrys¯e" wrote:
>Hi,
>
>Can the client library (libmysql.dll) do this in any
>way?
>
>-qabi
>
>--- Paul DuBois <paul@stripped> suggested:
>>
>> C:\> mysql < your_file
>>
>> Make sure each statement is terminated by a
>> semicolon.
Sure, but you'd need to read the file yourself to get the query
strings, and you'd either need to make some simplifying assumptions
about where queries end (say, require one query per line or something)
or else be prepared to parse the statements to figure out where one
ends and the other begins. The latter option's not so appealing.
--
Paul DuBois, paul@stripped