Hello,
On Tue, 15 May 2001, Aires Lima Trindade wrote:
> How to run SQL commands from a text file" but they wasn't clear for me.
> Does anybody can share with me old experience or a real example
> about this case?
C:\mysql\bin>copy con upd.sql
USE akw;
INSERT INTO tmp (id,c1) VALUES(NULL,1),(NULL,2);
INSERT INTO tmp (id,c1) VALUES(NULL,3),(NULL,4);
SELECT * FROM tmp;
^Z
1 Datei(en) kopiert.
C:\mysql\bin>mysql <upd.sql
id c1
1 1
2 2
3 3
4 4
Andreas Karl Wittwer
Phone: +49-7052-92206
FAX: +49-7052-92208
Mobil: +49-172-542 541 4
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php