添加字符串变量

这是一个标准文本字符串或一系列自定义的字母、数字和符号字符。 它的大小仅受可用系统资源的限制。

将字符串变量添加到任务序列

在任务序列中,您可以向 “更新数据” 数据操作添加字符串变量。 例如, 

  1. 从工具箱中,展开 数据 类别,然后将 “ 更新数据” 操作拖动到任务中的所需位置。
  2. 在 “更新数据” 设计窗体的 “ 名称 ” 字段中,添加一个有意义的名称来描述项目。
  3. Click next to Update Statements and select  String.
  4. 变量名称 字段中,键入标签以标识任务中的变量。
  5. 在 “要分配的 ” 字段中,执行以下操作之一:
    • 要在文字模式下设置值,请在内联键入字符串。
    • To set the value using an expression, click the expression modes button and perform one of the following steps:
      • 以内联方式添加表达式。
      • Click to open the large expression editor and build your expression.
  6. (Optional) To add another String variable, click next to Update Statements