Create dump file

by Mohan 2012-09-22 12:45:02


Create dump file

mysql>
mysql>
mysql>
mysql> CREATE TABLE TEAMS
-> (TEAMNO INTEGER NOT NULL,
-> EmployeeNO INTEGER NOT NULL,
-> DIVISION CHAR(6) NOT NULL,
-> PRIMARY KEY (TEAMNO) );
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql>
mysql> INSERT INTO TEAMS VALUES (1, 6, 'first');
Query OK, 1 row affected (0.00 sec)

mysql> INSERT INTO TEAMS VALUES (2, 27, 'second');
Query OK, 1 row affected (0.00 sec)

mysql>
mysql> SELECT *
-> FROM TEAMS
-> INTO DUMPFILE 'C:/TEAMS.DUMP';

mysql>
mysql>
mysql> drop table teams;
Query OK, 0 rows affected (0.00 sec)





Tagged in:

543
like
0
dislike
0
mail
flag

You must LOGIN to add comments