installutil setdbcodepage

Rational® ClearQuest® 数据代码页的值设置为受支持的 Windows 代码页。

适用性

平台:Windows

命令类型installutil 子命令

摘要

installutil setdbcodepage
[–dbset dbsetName] [-force] [-allowconversion] [-verbose] codePage adminUser adminPassword

描述

installutil setdbcodepage 子命令将 ClearQuest 数据代码页的值设置为受支持的 Windows 代码页。
要点: 该命令并不保证已存储在数据库集中的文本与数据代码页设置兼容。

选项和参数

dbsetName
包含要设置的数据库的数据库集或连接的名称。
-force
将数据代码页设置为本地字符集值,即使数据库验证失败也是如此。
要点: 强烈反对使用 -force 选项。
-allowconversion

将数据代码页设置为指定值,即使数据库中的字符在从 ClearQuest 客户机移至供应商数据库时无法正确存储也如此。

要点: 使用 -allowconversion 选项可能会导致数据损坏。 仅在运行带有 -verbose 选项的 installutil setdbcodepage 子命令以确定数据库是否包含在移动至供应商数据库时无法正确存储的字符后才使用此选项。
-verbose
列举 ClearQuest 数据库中在从 ClearQuest 客户机移动到供应商数据库时无法正确存储的字符。 替换字符也将显示。
codePage
为 ClearQuest 数据代码设置的 Windows 代码页编号。
adminUser
管理用户的登录名。该用户必须具有“超级用户”特权。
adminPassword
adminUser 用户的密码。如果没有密码,请输入一组空的双引号 (“”)。

示例


反馈