Re: Execute more sql statments in one step.
- From: PdG <pdg.pdg@xxxxxxxxx>
- Date: Tue, 12 Apr 2005 14:55:27 +0200
Daniel Dittmar wrote:
PdG wrote:
Daniel Dittmar wrote:
Have i to use a specific method to run multiple instructions? I've tried execute, executeBatch() but the results are the same...
[...]
OK, sounds reasonable.
I guess you have to break the file into individual statements in your java program. I assume that the mysql client does this as well rather than sending the whole input as one command to the database.
I think that the best way is to call the mysql client using an exec command, and tell it to load the database using the received .sql file.
Thank you .
- References:
- Execute more sql statments in one step.
- From: PdG
- Re: Execute more sql statments in one step.
- From: Daniel Dittmar
- Re: Execute more sql statments in one step.
- From: PdG
- Re: Execute more sql statments in one step.
- From: Daniel Dittmar
- Execute more sql statments in one step.
- Prev by Date: Re: Execute more sql statments in one step.
- Next by Date: Data geneartor
- Previous by thread: Re: Execute more sql statments in one step.
- Next by thread: Re: Execute more sql statments in one step.
- Index(es):
Relevant Pages
|
|