You can pass command line arguments to a program, thereby allowing multiple variations of the query to be run with a single program.
您可以将多个命令行参量传到程序中,这样可以运行一个程序可以进行多种类型的查询。
2
If you use the time variable, the singleline set time at the start of the script is good enough to display the time it takes to run individual commands.
如果使用time变量,那么只需在脚本的开头加上一行set time,就可以显示各个命令的执行时间。
3
It can be run in one of two ways, either with a single command line argument, which should be an errno value, or without any arguments.