Help命令
更新时间:
2019/08/09 GMT+08:00
功能
help命令用于提供Migration Tool支持的命令相关的帮助信息。
命令格式
Linux:
sh migrate.sh --help | -H
Windows:
java -jar migrationtool.jar --help | -H
参数说明
无
使用指南
无
Linux命令示例
sh migrate.sh --help
系统回显
This executable migrate.sh is deprecated, it is suggested to use migrationtool.jar executable. To migrate source database scripts to target database sh migrate.sh -S <source-database> -I <input-script-path> -O <output-script path> [-M <migration-type>] [-L <log-path>] -S | --source-db The source database, which can be either Teradata or Oracle. -I | --input-folder The input/source folder that contains the Teradata/Oracle scripts to be migrated. -O | --output-folder The output/target folder where the migrated scripts are placed. -M | --migration-type The migration type, which can be either Bulk or BLogic. -A | --application-lang The application language type, which can be either SQL or Perl. -L | --log-folder The log file path where the log files are created. -VN | --version-number The version number, which can be either V1R7 or V1R8_330. To display Migration Tool version details sh migrate.sh -V | --version To display Migration Tool help details sh migrate.sh -H | --help Refer the user manual for more details.
Windows命令示例
java -jar migrationtool.jar --help | -H
系统回显
Help output for java –jar migrationtool.jar –help:
E:\Migration\2018\temp\Nov2_1_Package\MigrationTool>java -jar migrationtool.jar --help
To migrate teradata/oracle database scripts to GaussDB 200
java -jar migrationtool.jar -S <source-database> -I <input-script-path> -O <output-script-path> [-M <migration-type>] [-A <application-lang>] [-L <log-path>]
-S | --source-db
The source database, which can be either Teradata or Oracle or OracleBeta.
-I | --input-folder
The input/source folder that contains the Teradata/Oracle scripts to be migrated.
-O | --output-folder
The output/target folder where the migrated scripts are placed.
-M | --migration-type
The migration type, which can be either Bulk or BLogic.
-A | --application-lang
The application language type, which can be either SQL or Perl.
-L | --log-folder
The log file path where the log files are created.
-VN | --version-number
The version number, which can be either V1R7 or V1R8_330.
To display Migration Tool version details
java -jar migrationtool.jar -V | --version
To display Migration Tool help details
java -jar migrationtool.jar -H | --help
[Internal] To guess encoding for a file
java -jar migrationtool.jar guessencoding -F <filename>
-F | --file-name
The filename for which the encoding must be guessed.
Refer the user manual for more details.
父主题:
命令行参考
相关文档
相关产品
