tags:

views:

93

answers:

3

i have to run multiple SQL statement in a batch if i store those sql in a file and can i run that file for those sqls

thanks J

+2  A: 

Yes! Using MySQL in batch mode

jonstjohn
A: 

Sure, you can use the mysql client program for the purpose, see MySQL reference.

Alex Martelli
+1  A: 

Hi

Please have a look at http://dev.mysql.com/doc/refman/5.0/en/batch-mode.html

cheers

Andriyev