sql - What is a pager in mysql more clause? -
i have been studying mysql http://dev.mysql.com/doc/refman/5.7/en/batch-mode.html in page there point:
if have query produces lot of output, can run output through pager rather watching scroll off top of screen:
shell> mysql < batch-file | more
i have batch file bat.sql
. if run or without more
clause output same:
c:\users\redefine webs>mysql -u root < d:\softwear\mysql\install\data\bat.sql name date type remark tommy 2000-01-02 litter 4 kittens, 3 females, 1 male bowser 2001-04-26 vet needed break straightened puffball 2002-05-13 birthday gave him new chew toy c:\users\redefine webs>mysql -u root < d:\softwear\mysql\install\data\bat.sql | more name date type remark tommy 2000-01-02 litter 4 kittens, 3 females, 1 male bowser 2001-04-26 vet needed break straightened puffball 2002-05-13 birthday gave him new chew toy c:\users\redefine webs>
- what pager in mysql? how
more
clause use pager? - how use more clause
mysql prompt
? trying give following error:
mysql> source d:\softwear\mysql\install\data\bat.sql | more error: failed open file 'd:\softwear\mysql\install\data\bat.sql | more', error: 22 mysql>
Comments
Post a Comment