共用方式為


附錄 - 1 (MySQLToSQL)

快速檢視 SSMA 主控台命令列選項:

Sl. 不會。 交換器 必要? Switch 引數 允許的值
1 -s/script Yes scriptfile 有效的 XML 檔案名稱。

主控台指令碼定義檔。
2 -v/variable No variablevaluefile 有效的 XML 檔案名稱。

如果在指令檔中使用變數,則必須指定這個檔案。
3 -c/serverconnection No serverconnectionfile 有效的 XML 檔案名稱。

此檔案包含伺服器連線資訊。
4 -x/xmloutput No xmloutputfile 此選項指出 XML 格式的主控台輸出。 如果未指定此選項,則預設輸出為 TEXT 格式。

如果未指定 xmloutputfile,則會將 XML 輸出導向至 STDOUT。

Xmloutputfile 是寫入 XML 格式主控台輸出的檔案名稱。
5 -l/log No logfile 有效的檔案名稱。
6 -e/projectenvironment No projectenvironmentfolder 包含 SSMA 專案環境檔案的有效資料夾名稱。
7 -p/securepassword No -a/add {<server_id> [,...n] | all} -c|serverconnection <server-connection-file> [-v|variable <variable-value-file>] [-o/overwrite]



-a/add {<server_id> [,...n] | all} -s|script <script-file> [-v|variable <variable-value-file>] [-o/overwrite]

-r/remove {<server_id> [, ...n] | all}

-l/list

-e/export {<server-id> [, ...n] | all} <encrypted-password -file>

-i/import {<server-id> [, ...n] | all} <encrypted-password-file>
如果指定,則這個選項不得與任何其他選項合併。

server-id:為伺服器 {string} 提供的唯一識別碼

server-connection-file:伺服器定義檔 (serverconnectionfile 或 scriptfile)。

variable-value-file:這是變數定義檔,而且用於 server-connection-file。

encrypted-password-file:這是透過使用者所指定複雜密碼進行加密的伺服器密碼檔案。
8 -? 不適用 不適用

另請參閱

執行 SSMA 主控台 (MySQL)