模式:创建能够在不同的平台和目标环境中运行的单一部署脚本。
Pattern: Create a single deployment script capable of running on different platforms and target environments.
模式中的第一个部件上需要这个脚本包(图8)。
This script package is required on the first part in the pattern (Figure 8).
这个模式还将包括配置脚本。
当脚本包在目录中时,您可以构建新的自定义模式。
Once the script package is in the catalog, you can build your new custom pattern.
模式:在脚本中编写所有部署流程。
图12展示了关联到一个模式的脚本包。
Figure 12 shows a script package being associated with a pattern.
脚本包设计用于定制模式中的各个部件的行为。
A script package is designed to customize the behavior of parts within a pattern.
请记住这些脚本处理的是模式,而不是数据。
Keep in mind that these scripts deal with schema, but not data.
这是脚本的最常见执行模式。
要通过定制模式实现这个目标,必须创建一个新的脚本包,它将构成模式的一部分。
To achieve this objective with a custom pattern, you must create a new script package that will be part of the pattern.
如何关联脚本包和模式。
在数据仓库模式上运行sql脚本。
创建一个定制模式和脚本包。
接下来,您将创建一个包含脚本包的模式。
Next, you will create a pattern that will contain the script package.
您或许想让脚本有两种运行模式
该操作将显示模式脚本编辑器,其左侧带有reference选项卡。
That action brings up the modal script editor with the reference TAB on the left.
这一模式与cgi脚本一样古老。
更加复杂的Insert模式的脚本。
更加复杂的Insert模式的脚本。
应用推荐